Closed tedw closed 1 year ago
This is 8.0 or 8.1?
Sorry, this was introduced in 8.1. I just updated the title to reflect that.
More info here: https://php.watch/versions/8.1/internal-method-return-types
Care to do a PR? 😄 If not I will try to get to it ASAP.
@Log1x Sure thing! I added return types to the offending functions in this PR https://github.com/Log1x/navi/pull/55
However, it would probably be best to add types to all functions at some point. I’ll defer to you on that. Thanks!
FYI after upgrading to PHP 8.1. I started seeing these deprecation notices:
Here’s a screenshot from Query Monitor:
More info here https://stackoverflow.com/questions/71133749/reference-return-type-of-should-either-be-compatible-with-or-the-re
Not urgent, still works fine, just wanted to let you know. Thanks for all your work on Navi and all your other packages!