Fixed Non-static method App\Controllers\IndexController_15ff38d79bd488a25d7f78d83151da8d::getAnnotationAspects() should not be called statically

This commit is contained in:
李铭昕 2019-01-03 17:37:14 +08:00
parent 3dd63dd4d1
commit 9f22e2946c

View File

@ -101,7 +101,7 @@ trait ProxyTrait
return $matchAspect;
}
private function getAnnotationAspects(string $className, string $method): array
private static function getAnnotationAspects(string $className, string $method): array
{
$matchAspect = [];
$collector = AnnotationCollector::getContainer();