-
Notifications
You must be signed in to change notification settings - Fork 131
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
Implemented ReflectionMethod::getClosure() #354
Conversation
7514585
to
811226b
Compare
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.
Besides exception detail nitpicking, looks good! 👍
src/Reflection/ReflectionMethod.php
Outdated
private function assertClassExist(string $className) : void | ||
{ | ||
if ( ! \class_exists($className, false)) { | ||
throw new ClassDoesNotExist('Method cannot be used as the class is not loaded'); |
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.
Please add the class name to the exception
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.
Done.
Ah, and a rebase will be needed, sorry :-\ |
811226b
to
d327ee2
Compare
@Ocramius No problem, done :) |
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.
LGTM 👍
Good to go! 👍 |
No description provided.