-
Notifications
You must be signed in to change notification settings - Fork 408
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
Notice: Event 'notFound' has been overridden! #541
Comments
I have the same problem with Flight::map('error', ...) which is what the documentation says here: https://docs.flightphp.com/learn/configuration |
Thanks for reporting these things guys. We might have missed some test cases. I'll take a peek here in a minute and get back to you. |
You are right guys, it will be corrected in a few minutes, thanks for reporting. |
This will be fixed with #542, hopefully this will be merged and versioned in the next few hours. |
Hello,
First of all, thank you for taking such an active role in the project. It's very cool that new life has been breathed into it.
I have a problem. If I overwrite the "notFound" method via Map, as it is written in the docu (https://docs.flightphp.com/learn/extending), I get the error message "Notice: Event 'notFound' has been overridden!" which came in due to the changes for 3.4. Is this intentional? How should I proceed if I want to overwrite "notFound"? The error message breaks the output of the endpoint.
The text was updated successfully, but these errors were encountered: