laravel-responder
laravel-responder copied to clipboard
Declaration of App\Exceptions\Handler::render($request, Throwable $exception) must be compatible with Flugg\Responder\Exceptions\Handler::render($request, $exception)
Laravel 7 utilizes the 5.x series of the Symfony components. Some minor changes to your application are required to accommodate this upgrade.
First, the report, render, shouldReport, and renderForConsole methods of your application's App\Exceptions\Handler class should accept instances of the Throwable interface instead of Exception instances.
Source: https://laravel.com/docs/7.x/upgrade#symfony-5-related-upgrades