Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 359fe84

Browse filesBrowse files
committed
[HttpKernel] Allow all http status codes and change invalid message
1 parent be60157 commit 359fe84
Copy full SHA for 359fe84

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,8 @@ private function addExceptionsSection(ArrayNodeDefinition $rootNode)
12251225
->scalarNode('status_code')
12261226
->info('The status code of the response. Null to let Symfony decide.')
12271227
->validate()
1228-
->ifTrue(function ($v) { return $v < 100 || $v > 499; })
1229-
->thenInvalid('The log level is not valid. Pick one among between 100 et 499.')
1228+
->ifTrue(function ($v) { return $v < 100 || $v > 599; })
1229+
->thenInvalid('The log level is not valid. Pick a value between 100 and 599.')
12301230
->end()
12311231
->defaultNull()
12321232
->end()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.