Skip to content

Commit e7a0fb9

Browse files
authored
Merge pull request #239 from meyerbaptiste/fix_exception_to_status_config
Update the exception to status config
2 parents 0d0dfac + 0f88134 commit e7a0fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ api_platform:
8585
Symfony\Component\Serializer\Exception\ExceptionInterface: 400
8686

8787
# Or with a constant defined in the 'Symfony\Component\HttpFoundation\Response' class.
88-
ApiPlatform\Core\Exception\InvalidArgumentException: 'HTTP_BAD_REQUEST'
88+
ApiPlatform\Core\Exception\InvalidArgumentException: !php/const:Symfony\Component\HttpFoundation\Response::HTTP_BAD_REQUEST
8989

9090
# ...
9191

0 commit comments

Comments
 (0)