You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AnnotationBeanFactory::has() returns true for "internal dependencies" (methods in config class marked as protected) since method_exists() simply checks if the method does exists not if the method can actually be called from the current context. This is a problem when AnnotationBeanFactory::get() is called since call_user_func() is not able to call the method as intended.
To fix the problem substitute the method_exists() call with is_callable(). This seems to be a side-effect of #10.
The text was updated successfully, but these errors were encountered:
AnnotationBeanFactory::has() returns true for "internal dependencies" (methods in config class marked as protected) since method_exists() simply checks if the method does exists not if the method can actually be called from the current context. This is a problem when AnnotationBeanFactory::get() is called since call_user_func() is not able to call the method as intended.
To fix the problem substitute the method_exists() call with is_callable(). This seems to be a side-effect of #10.
The text was updated successfully, but these errors were encountered: