-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix for Exception #29
Conversation
We cannot assume that EVERY object we receive here implements the getName method. Therefore we should fall back to the ReflectionObject which implements the method (via ReflectionClass).
Good point! 👍 |
Oh good catch! That was probably a typo, could you please fix the test (https://travis-ci.org/myclabs/DeepCopy/jobs/90081673) so that the build is green? |
Kind of busy right now, but I can have a look into it over the next few days. |
I will fix this, looks like a one-line fix. |
Opened PR for this PR. :-) |
👍 that's meta, will merge once it's merged ;) |
Fixed wrong reference in Exception message
Sorry for the delay :) |
If you want to get rid of merge commit just do rebase. (but it is not technicaly neccesary) |
Perfectly fine like this! Thanks both! |
We cannot assume that EVERY object we receive here implements the getName method. Therefore we should fall back to the ReflectionObject which implements the method (via ReflectionClass).