Browse Source

Update methods calls as per changes in phpstan.

ADmad 8 years ago
parent
commit
ae74d92a8c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/PHPStan/AssociationTableMixinClassReflectionExtension.php

+ 2 - 2
tests/PHPStan/AssociationTableMixinClassReflectionExtension.php

@@ -57,7 +57,7 @@ class AssociationTableMixinClassReflectionExtension implements PropertiesClassRe
      */
     public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection
     {
-        return $this->getTableReflection()->getMethod($methodName);
+        return $this->getTableReflection()->getNativeMethod($methodName);
     }
 
     /**
@@ -81,6 +81,6 @@ class AssociationTableMixinClassReflectionExtension implements PropertiesClassRe
      */
     public function getProperty(ClassReflection $classReflection, string $propertyName): PropertyReflection
     {
-        return $this->getTableReflection()->getProperty($propertyName);
+        return $this->getTableReflection()->getNativeProperty($propertyName);
     }
 }