Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration of App\Exceptions\Handler::render($request, Throwable $exception) must be compatible with Flugg\Responder\Exceptions\Handler::render($request, $exception) #162

Open
dennisoderwald opened this issue Jun 11, 2020 · 0 comments

Comments

@dennisoderwald
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant