laravel-responder icon indicating copy to clipboard operation
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)

Open dennisoderwald opened this issue 5 years ago • 0 comments

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

dennisoderwald avatar Jun 11 '20 18:06 dennisoderwald