From 4b7135f5521958f0c945e6ce1a754cb290177179 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Tue, 7 May 2024 13:01:11 +1000 Subject: [PATCH] Fixed coding standards. --- web/themes/contrib/civictheme/src/CivicthemeColorManager.php | 3 ++- .../contrib/civictheme/src/CivicthemeSettingsFormManager.php | 2 +- web/themes/contrib/civictheme/src/CivicthemeVersionManager.php | 2 +- web/themes/contrib/civictheme/src/Color/CivicthemeColor.php | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/themes/contrib/civictheme/src/CivicthemeColorManager.php b/web/themes/contrib/civictheme/src/CivicthemeColorManager.php index 2f9a7562f7..557ecd794a 100644 --- a/web/themes/contrib/civictheme/src/CivicthemeColorManager.php +++ b/web/themes/contrib/civictheme/src/CivicthemeColorManager.php @@ -63,7 +63,8 @@ public function __construct( protected CivicthemeConfigManager $configManager, protected CivicthemeStylesheetParser $stylesheetParser, protected CivicthemeStylesheetGenerator $stylesheetGenerator, - protected CacheTagsInvalidatorInterface $cacheTagsInvalidator) { + protected CacheTagsInvalidatorInterface $cacheTagsInvalidator, + ) { $this->pluginLoader->load(__DIR__ . '/Color'); } diff --git a/web/themes/contrib/civictheme/src/CivicthemeSettingsFormManager.php b/web/themes/contrib/civictheme/src/CivicthemeSettingsFormManager.php index 64865e36dc..3a63ad5443 100644 --- a/web/themes/contrib/civictheme/src/CivicthemeSettingsFormManager.php +++ b/web/themes/contrib/civictheme/src/CivicthemeSettingsFormManager.php @@ -20,7 +20,7 @@ final class CivicthemeSettingsFormManager implements ContainerInjectionInterface */ public function __construct( protected CivicthemePluginLoader $pluginLoader, - protected ThemeExtensionList $themeExtensionList + protected ThemeExtensionList $themeExtensionList, ) { } diff --git a/web/themes/contrib/civictheme/src/CivicthemeVersionManager.php b/web/themes/contrib/civictheme/src/CivicthemeVersionManager.php index 8b781c44f4..f01970febb 100644 --- a/web/themes/contrib/civictheme/src/CivicthemeVersionManager.php +++ b/web/themes/contrib/civictheme/src/CivicthemeVersionManager.php @@ -27,7 +27,7 @@ final class CivicthemeVersionManager implements ContainerInjectionInterface { * {@inheritdoc} */ public function __construct( - protected ThemeExtensionList $themeExtensionList + protected ThemeExtensionList $themeExtensionList, ) { } diff --git a/web/themes/contrib/civictheme/src/Color/CivicthemeColor.php b/web/themes/contrib/civictheme/src/Color/CivicthemeColor.php index da9322c4c8..a3186c429b 100644 --- a/web/themes/contrib/civictheme/src/Color/CivicthemeColor.php +++ b/web/themes/contrib/civictheme/src/Color/CivicthemeColor.php @@ -57,7 +57,8 @@ class CivicthemeColor implements \Stringable { public function __construct( protected $name, $value, - $formula = NULL) { + $formula = NULL, + ) { if ($formula) { $this->setFormula($formula); }