Skip to content

Commit eea2c26

Browse files
committed
minor #46839 Fix generated validation error message for wrong exception mapping status code (andrew-demb)
This PR was merged into the 5.4 branch. Discussion ---------- Fix generated validation error message for wrong exception mapping status code | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | <!-- required for new features --> There was a typo in validation error. Commits ------- 2dde9d52d2 Fix generated validation error message for wrong exception mapping status code
2 parents ab71a37 + 21cdc24 commit eea2c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ private function addExceptionsSection(ArrayNodeDefinition $rootNode)
12361236
->info('The status code of the response. Null to let Symfony decide.')
12371237
->validate()
12381238
->ifTrue(function ($v) { return $v < 100 || $v > 599; })
1239-
->thenInvalid('The log level is not valid. Pick a value between 100 and 599.')
1239+
->thenInvalid('The status code is not valid. Pick a value between 100 and 599.')
12401240
->end()
12411241
->defaultNull()
12421242
->end()

0 commit comments

Comments
 (0)