laravel 7 migation

This commit is contained in:
2022-10-27 13:10:19 +02:00
parent dbd0f3b68e
commit 9fada95e8a
4 changed files with 1997 additions and 2098 deletions

View File

@@ -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
*
* @throws \Exception
*/
public function report(Exception $exception)
public function report(Throwable $exception)
{
parent::report($exception);
}
@@ -48,7 +48,7 @@ class Handler extends ExceptionHandler
*
* @throws \Exception
*/
public function render($request, Exception $exception)
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}