From 48b90ed22e6604ca869de054b499ac1bd4a4d6a2 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 7 Jan 2021 03:23:42 +0100 Subject: Upgrade Laravel from 5.6 to 8. Switch to subdomain instead of subfolder. --- app/Exceptions/Handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Exceptions/Handler.php') diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 7e2563a..1d20b77 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,7 +2,7 @@ namespace App\Exceptions; -use Exception; +use Throwable; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler @@ -34,7 +34,7 @@ class Handler extends ExceptionHandler * @param \Exception $exception * @return void */ - public function report(Exception $exception) + public function report(Throwable $exception) { parent::report($exception); } @@ -46,7 +46,7 @@ class Handler extends ExceptionHandler * @param \Exception $exception * @return \Illuminate\Http\Response */ - public function render($request, Exception $exception) + public function render($request, Throwable $exception) { return parent::render($request, $exception); } -- cgit v1.2.3