Skip to content

Commit

Permalink
Update methods calls as per changes in phpstan.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 30, 2017
1 parent e475be7 commit ae74d92
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -57,7 +57,7 @@ public function hasMethod(ClassReflection $classReflection, string $methodName):
*/
public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection
{
return $this->getTableReflection()->getMethod($methodName);
return $this->getTableReflection()->getNativeMethod($methodName);
}

/**
Expand All @@ -81,6 +81,6 @@ public function hasProperty(ClassReflection $classReflection, string $propertyNa
*/
public function getProperty(ClassReflection $classReflection, string $propertyName): PropertyReflection
{
return $this->getTableReflection()->getProperty($propertyName);
return $this->getTableReflection()->getNativeProperty($propertyName);
}
}

0 comments on commit ae74d92

Please sign in to comment.