Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Conversation

allcode
Copy link
Contributor

@allcode allcode commented Nov 11, 2017

This PR fixes a bug in Zend\Code\Scanner\MethodScanner#setVisibility(), in which the method throws a nonexistent Zend\Code\Exception if the provided visibility value is invalid.
It is fixed by replacing the thrown exception with Zend\Code\Exception\InvalidArgumentException.

setVisibility() now throws a Zend\Code\Exception\InvalidArgumentException.
@allcode allcode closed this Nov 14, 2017
@allcode
Copy link
Contributor Author

allcode commented Nov 14, 2017

Duplicate of pull request #140

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant