mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 03:37:44 +08:00
Fixed Non-static method App\Controllers\IndexController_15ff38d79bd488a25d7f78d83151da8d::getAnnotationAspects() should not be called statically
This commit is contained in:
parent
3dd63dd4d1
commit
9f22e2946c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user