From 28b341d624551ea7fea73c3e297883aec985a4a9 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 30 Sep 2021 13:13:32 +0000 Subject: laravel: Update to laravel 7 --- laravel/app/Exceptions/Handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'laravel/app/Exceptions') diff --git a/laravel/app/Exceptions/Handler.php b/laravel/app/Exceptions/Handler.php index 043cad6..05aeb49 100644 --- a/laravel/app/Exceptions/Handler.php +++ b/laravel/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 @@ -32,7 +32,7 @@ class Handler extends ExceptionHandler * @param \Exception $exception * @return void */ - public function report(Exception $exception) + public function report(Throwable $exception) { parent::report($exception); } @@ -44,7 +44,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 1.4.1