Skip to content

Commit 43747e3

Browse files
committed
Run Rector
1 parent e2b73ef commit 43747e3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

code_samples/multisite/siteaccess/AcmeExampleExtension.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
final class AcmeExampleExtension extends Extension
1313
{
14-
public const ACME_CONFIG_DIR = __DIR__ . '/../../../config/acme';
14+
public const string ACME_CONFIG_DIR = __DIR__ . '/../../../config/acme';
1515

1616
/**
1717
* @throws \Exception
@@ -54,6 +54,7 @@ static function ($scopeSettings, $currentScope, ContextualizerInterface $context
5454
}
5555

5656
/** @param array<mixed> $config */
57+
#[\Override]
5758
public function getConfiguration(array $config, ContainerBuilder $container): Configuration
5859
{
5960
return new Configuration();

docs/multisite/siteaccess/siteaccess_aware_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Semantic configuration must always be mapped to internal key/value settings with
6868
You usually do it in the [service container](php_api.md#service-container) extension.
6969
7070
``` php
71-
[[= include_file('code_samples/multisite/siteaccess/AcmeExampleExtension.php', 0, 42) =]][[= include_file('code_samples/multisite/siteaccess/AcmeExampleExtension.php', 53, 61) =]]
71+
[[= include_file('code_samples/multisite/siteaccess/AcmeExampleExtension.php', 0, 42) =]][[= include_file('code_samples/multisite/siteaccess/AcmeExampleExtension.php', 53, 62) =]]
7272
```
7373

7474
You can also map simple settings by calling `$processor->mapSetting()`, without having to call `$processor->mapConfig()` with a callable.

0 commit comments

Comments
 (0)