Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a600fbe

Browse files
committed
Review
1 parent d9ae6c8 commit a600fbe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/OptionsResolver/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
4.3.0
55
-----
66

7-
* added `addNormalizer` method
7+
* added `OptionsResolver::addNormalizer` method
88

99
4.2.0
1010
-----

src/Symfony/Component/OptionsResolver/Debug/OptionsResolverIntrospector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getNormalizer(string $option): \Closure
8989
}
9090

9191
/**
92-
* @throws NoConfigurationException on no configured normalizer
92+
* @throws NoConfigurationException when no normalizer is configured
9393
*/
9494
public function getNormalizers(string $option): array
9595
{

src/Symfony/Component/OptionsResolver/OptionsResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public function setNormalizer($option, \Closure $normalizer)
497497
*
498498
* The normalizer should be a closure with the following signature:
499499
*
500-
* function (Options $options, $value) {
500+
* function (Options $options, $value): mixed {
501501
* // ...
502502
* }
503503
*

0 commit comments

Comments
 (0)