diff --git a/framework/core/src/Http/Middleware/HandleErrors.php b/framework/core/src/Http/Middleware/HandleErrors.php index 062a53f90..25e26a728 100644 --- a/framework/core/src/Http/Middleware/HandleErrors.php +++ b/framework/core/src/Http/Middleware/HandleErrors.php @@ -55,7 +55,7 @@ class HandleErrors implements ErrorMiddlewareInterface if ($this->debug && $errorCode !== 404) { $whoops = new WhoopsMiddleware; - return $whoops($error, $request, $response, $out);; + return $whoops($error, $request, $response, $out); } $errorPage = $this->getErrorPage($status);