Fixes #10. has() will no longer return true for protected methods #39

Merged
merged 1 commit into from May 26, 2016

Projects

None yet

1 participant

@shochdoerfer
Member

Replaced the method_exists() call with is_callable() since method_exists() returns true for protected methods.

@shochdoerfer shochdoerfer merged commit 77b8f33 into bitExpert:master May 26, 2016

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@shochdoerfer shochdoerfer deleted the shochdoerfer:fix/hide_protected_dependencies branch May 26, 2016
@shochdoerfer shochdoerfer added this to the 0.4.0 milestone May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment