diff --git a/helfi_proxy.module b/helfi_proxy.module index 863c13f..fabb048 100644 --- a/helfi_proxy.module +++ b/helfi_proxy.module @@ -38,7 +38,7 @@ function helfi_proxy_file_url_alter(&$uri) : void { */ function helfi_proxy_js_settings_alter( array &$settings, - AttachedAssetsInterface $assets + AttachedAssetsInterface $assets, ) { if (isset($settings['radioactivity'])) { /** @var \Drupal\helfi_proxy\ActiveSitePrefix $service */ diff --git a/src/ActiveSitePrefix.php b/src/ActiveSitePrefix.php index de9e73a..c1a876c 100644 --- a/src/ActiveSitePrefix.php +++ b/src/ActiveSitePrefix.php @@ -35,7 +35,7 @@ final class ActiveSitePrefix implements RefinableCacheableDependencyInterface { */ public function __construct( private LanguageManagerInterface $languageManager, - ConfigFactoryInterface $configFactory + ConfigFactoryInterface $configFactory, ) { $this->config = $configFactory->get('helfi_proxy.settings'); $this->addCacheableDependency($this->config); diff --git a/src/EventSubscriber/CorsResponseSubscriber.php b/src/EventSubscriber/CorsResponseSubscriber.php index 2fce350..933bbff 100644 --- a/src/EventSubscriber/CorsResponseSubscriber.php +++ b/src/EventSubscriber/CorsResponseSubscriber.php @@ -20,7 +20,7 @@ final class CorsResponseSubscriber implements EventSubscriberInterface { * An array of domains. */ public function __construct( - private array $validOriginDomains + private array $validOriginDomains, ) { } diff --git a/src/EventSubscriber/RobotsResponseSubscriber.php b/src/EventSubscriber/RobotsResponseSubscriber.php index 95123f9..9866c8a 100644 --- a/src/EventSubscriber/RobotsResponseSubscriber.php +++ b/src/EventSubscriber/RobotsResponseSubscriber.php @@ -35,7 +35,7 @@ public function __construct( private ConfigFactoryInterface $configFactory, private CurrentPathStack $pathStack, private AliasManagerInterface $aliasManager, - private PathMatcherInterface $pathMatcher + private PathMatcherInterface $pathMatcher, ) { } diff --git a/src/PathProcessor/SitePrefixPathProcessor.php b/src/PathProcessor/SitePrefixPathProcessor.php index 63b95c0..6a9bd45 100644 --- a/src/PathProcessor/SitePrefixPathProcessor.php +++ b/src/PathProcessor/SitePrefixPathProcessor.php @@ -48,7 +48,7 @@ public function processOutbound( $path, &$options = [], Request $request = NULL, - BubbleableMetadata $bubbleable_metadata = NULL + BubbleableMetadata $bubbleable_metadata = NULL, ) : string { if (!isset($options['language'])) { diff --git a/src/SessionConfiguration.php b/src/SessionConfiguration.php index 6ca452d..84c4687 100644 --- a/src/SessionConfiguration.php +++ b/src/SessionConfiguration.php @@ -27,7 +27,8 @@ final class SessionConfiguration extends CoreSessionConfiguration { */ public function __construct( private ProxyManagerInterface $proxyManager, - array $options = []) { + array $options = [], + ) { parent::__construct($options); }