-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Fixed deprecation warnings #407
Conversation
Thanks for the work @pkruithof!
Could you remove that part? Logger is an optional dependency and the library works fine without it :) |
Done. |
/** | ||
* @param string $plural | ||
* | ||
* @return string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can return null if no result
I'll apply your other feedback tomorrow when I have more time. |
// cache the singularize method | ||
$this->singularizer = [$class, $method]; | ||
|
||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this case a return
would be more clear IMO
Alright, a last change and it's ready to go :) |
Closed via 10674cb, thanks a lot for the work @pkruithof :) |
Fixes #389, and also warnings from phpunit.
I also added a psr/log dependency, as it's being used in the Loader class.