From 35823ad820ec7e7432e7732e8df2065e89860388 Mon Sep 17 00:00:00 2001 From: Tristian Kelly Date: Thu, 23 Nov 2023 16:10:32 -0600 Subject: [PATCH] Apply StyleCI fixes --- framework/core/src/Extend/Settings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/core/src/Extend/Settings.php b/framework/core/src/Extend/Settings.php index 07a26fdfda..3739bd44dd 100644 --- a/framework/core/src/Extend/Settings.php +++ b/framework/core/src/Extend/Settings.php @@ -97,7 +97,7 @@ public function registerLessConfigVar(string $configName, string $key, callable| public function extend(Container $container, Extension $extension = null): void { - if (!empty($this->defaults)) { + if (! empty($this->defaults)) { $container->extend('flarum.settings.default', function (Collection $defaults) { foreach ($this->defaults as $key => $value) { if ($defaults->has($key)) { @@ -111,7 +111,7 @@ public function extend(Container $container, Extension $extension = null): void }); } - if (!empty($this->forget)) { + if (! empty($this->forget)) { $settings = $container->make(SettingsRepositoryInterface::class); foreach ($this->forget as $key => $callback) { @@ -125,7 +125,7 @@ public function extend(Container $container, Extension $extension = null): void } } - if (!empty($this->settings)) { + if (! empty($this->settings)) { AbstractSerializer::addAttributeMutator( ForumSerializer::class, function () use ($container) { @@ -148,7 +148,7 @@ function () use ($container) { ); } - if (!empty($this->lessConfigs)) { + if (! empty($this->lessConfigs)) { $container->extend('flarum.less.config', function (array $existingConfig, Container $container) { $config = $this->lessConfigs;