Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Exception/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@ private function getStatusCode(?HttpOperation $apiOperation, ?HttpOperation $err
return $exception->getStatusCode();
}

if ($exception instanceof SymfonyHttpExceptionInterface) {
return $exception->getStatusCode();
}

if ($exception instanceof RequestExceptionInterface || $exception instanceof InvalidUriVariableException) {
return 400;
}
Expand Down