111
This commit is contained in:
@@ -10,6 +10,7 @@ use Closure;
|
|||||||
use Exception;
|
use Exception;
|
||||||
use Http\Exception\RequestException;
|
use Http\Exception\RequestException;
|
||||||
use JetBrains\PhpStorm\Pure;
|
use JetBrains\PhpStorm\Pure;
|
||||||
|
use Kiri\Di\NoteManager;
|
||||||
use Kiri\Events\EventProvider;
|
use Kiri\Events\EventProvider;
|
||||||
use Kiri\Exception\NotFindClassException;
|
use Kiri\Exception\NotFindClassException;
|
||||||
use Kiri\IAspect;
|
use Kiri\IAspect;
|
||||||
@@ -255,7 +256,7 @@ class Node
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @var Aspect $aspect */
|
/** @var Aspect $aspect */
|
||||||
$aspect = Kiri::getDi()->getMethodByAnnotation(Aspect::class, $controller, $action);
|
$aspect = NoteManager::getMethodByAnnotation(Aspect::class, $controller, $action);
|
||||||
if (empty($aspect)) {
|
if (empty($aspect)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user