Skip to content

Allow string for parameter $obj in ReflectionHelper::getAccessibleRefProperty() #3571

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

Conversation

samsonasik
Copy link
Member

There is is_object($obj) check and its otherwise condition using ReflectionClass, that make it possible to pass a string parameter.

Checklist:

  • Securely signed commits

@samsonasik samsonasik force-pushed the allow-string-reflectionhelper-getaccessibelproperty branch from 66a7a4f to c032084 Compare August 30, 2020 15:19
@MGatner MGatner merged commit 1fa648a into codeigniter4:develop Aug 31, 2020
@MGatner
Copy link
Member

MGatner commented Aug 31, 2020

I think API deploy failed because the other deployment interlaces with this one. Should self-correct on next deployment.

@samsonasik samsonasik deleted the allow-string-reflectionhelper-getaccessibelproperty branch August 31, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants