Skip to content

Commit f2b00d4

Browse files
committed
migration to Laravel v7 fix
1 parent 9abd476 commit f2b00d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/Exceptions/Handler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Exceptions;
44

5-
use Exception;
5+
use Throwable;
66
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
77

88
class Handler extends ExceptionHandler
@@ -32,7 +32,7 @@ class Handler extends ExceptionHandler
3232
* @param \Exception $exception
3333
* @return void
3434
*/
35-
public function report(Exception $exception)
35+
public function report(Throwable $exception)
3636
{
3737
parent::report($exception);
3838
}
@@ -44,7 +44,7 @@ public function report(Exception $exception)
4444
* @param \Exception $exception
4545
* @return \Illuminate\Http\Response
4646
*/
47-
public function render($request, Exception $exception)
47+
public function render($request, Throwable $exception)
4848
{
4949
return parent::render($request, $exception);
5050
}

0 commit comments

Comments
 (0)