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

Removing potential bug caused by invalid static keyword usage #144

Merged
merged 1 commit into from
Feb 6, 2014

Conversation

Ocramius
Copy link
Owner

@Ocramius Ocramius commented Feb 6, 2014

No description provided.

Ocramius added a commit that referenced this pull request Feb 6, 2014
Removing potential bug caused by invalid `static` keyword usage
@Ocramius Ocramius merged commit 36371f1 into master Feb 6, 2014
@Ocramius Ocramius added this to the 1.0.0 milestone Feb 6, 2014
@Ocramius Ocramius self-assigned this Feb 6, 2014
@Ocramius Ocramius deleted the hotfix/php-analyzer branch February 6, 2014 14:07
@@ -43,7 +43,7 @@ public static function fromReflection(ParameterReflection $reflectionParameter)
$param->setName($reflectionParameter->getName());
$param->setPosition($reflectionParameter->getPosition());

$type = static::extractParameterType($reflectionParameter);
$type = self::extractParameterType($reflectionParameter);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ocramius what was the issue ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blanchonvincent extractParameterType is private, therefore it was nonsense to use static here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Ocramius Ocramius modified the milestones: 0.5.1, 1.0.0 Mar 12, 2014
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.

2 participants