diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-09-30 13:13:32 +0000 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-09-30 13:13:32 +0000 |
| commit | 28b341d624551ea7fea73c3e297883aec985a4a9 (patch) | |
| tree | 1fab8a7c2d01cf6a0efe0a57b2971c93ca720d4a /laravel/app | |
| parent | c4e0a9d5ebf8ba63718fade39530c0522db4dcae (diff) | |
| download | prosongsa-28b341d624551ea7fea73c3e297883aec985a4a9.tar.gz | |
laravel: Update to laravel 7
Diffstat (limited to 'laravel/app')
| -rw-r--r-- | laravel/app/Exceptions/Handler.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |
