Skip to content
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

Resolve TypeError in testPopulateFunctionAbstractThrowsExceptionWithInvalidNode #112

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

asgrim
Copy link
Member

@asgrim asgrim commented Aug 26, 2015

Change node type to something that actually matches the hinted type to fix #111

(the issue was just caused because the variable passed in the test was not a PhpParser\Node\Stmt (was a Scalar) so failed the type check ^_^

@asgrim asgrim added the bug label Aug 26, 2015
@asgrim asgrim added this to the 1.0.0 milestone Aug 26, 2015
Ocramius added a commit that referenced this pull request Aug 27, 2015
Resolve TypeError in testPopulateFunctionAbstractThrowsExceptionWithInvalidNode
@Ocramius Ocramius merged commit 51984fb into master Aug 27, 2015
@Ocramius Ocramius deleted the bugfix-111-resolve-type-error branch August 27, 2015 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failing (PHP7): testPopulateFunctionAbstractThrowsExceptionWithInvalidNode
2 participants