Skip to content

Commit fc9837e

Browse files
committed
bug symfony#49248 [Config] Fix phpdoc nullable (alamirault)
This PR was merged into the 5.4 branch. Discussion ---------- [Config] Fix phpdoc nullable | Q | A | ------------- | --- | Branch? | 5.4| Bug fix? | yes/no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 7865255 [Config] Fix phpdoc nullable
2 parents 1b2ec89 + 7865255 commit fc9837e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Config/Definition/Processor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ public function processConfiguration(ConfigurationInterface $configuration, arra
6363
*
6464
* extensions: ['twig.extension.foo', 'twig.extension.bar']
6565
*
66-
* @param array $config A config array
67-
* @param string $key The key to normalize
68-
* @param string $plural The plural form of the key if it is irregular
66+
* @param array $config A config array
67+
* @param string $key The key to normalize
68+
* @param string|null $plural The plural form of the key if it is irregular
6969
*/
7070
public static function normalizeConfig(array $config, string $key, string $plural = null): array
7171
{

0 commit comments

Comments
 (0)