Skip to content

Commit

Permalink
UHF-10819: Automated phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Oct 24, 2024
1 parent a9a4e0c commit acd4b43
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helfi_proxy.module
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/ActiveSitePrefix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/EventSubscriber/CorsResponseSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class CorsResponseSubscriber implements EventSubscriberInterface {
* An array of domains.
*/
public function __construct(
private array $validOriginDomains
private array $validOriginDomains,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/EventSubscriber/RobotsResponseSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(
private ConfigFactoryInterface $configFactory,
private CurrentPathStack $pathStack,
private AliasManagerInterface $aliasManager,
private PathMatcherInterface $pathMatcher
private PathMatcherInterface $pathMatcher,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/PathProcessor/SitePrefixPathProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down
3 changes: 2 additions & 1 deletion src/SessionConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ final class SessionConfiguration extends CoreSessionConfiguration {
*/
public function __construct(
private ProxyManagerInterface $proxyManager,
array $options = []) {
array $options = [],
) {

parent::__construct($options);
}
Expand Down

0 comments on commit acd4b43

Please sign in to comment.