We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dec19d + 58acb99 commit 14b237aCopy full SHA for 14b237a
Controller/ExceptionController.php
@@ -54,14 +54,14 @@ public function __construct(
54
* Converts an Exception to a Response.
55
*
56
* @param Request $request
57
- * @param \Exception $exception
+ * @param \Exception|\Throwable $exception
58
* @param DebugLoggerInterface|null $logger
59
60
* @throws \InvalidArgumentException
61
62
* @return Response
63
*/
64
- public function showAction(Request $request, \Exception $exception, DebugLoggerInterface $logger = null)
+ public function showAction(Request $request, $exception, DebugLoggerInterface $logger = null)
65
{
66
$currentContent = $this->getAndCleanOutputBuffering($request->headers->get('X-Php-Ob-Level', -1));
67
$code = $this->getStatusCode($exception);
0 commit comments