This commit is contained in:
2021-08-03 15:27:06 +08:00
parent f2cfae0583
commit 324db2fa3f
+2 -2
View File
@@ -160,7 +160,7 @@ class Node extends HttpService
* @param IAspect|null $reflect * @param IAspect|null $reflect
* @return Closure * @return Closure
*/ */
private function aopHandler(?IAspect $reflect): Closure #[Pure] private function aopHandler(?IAspect $reflect): Closure
{ {
if (is_null($reflect)) { if (is_null($reflect)) {
return $this->normalHandler($this->handler); return $this->normalHandler($this->handler);
@@ -175,7 +175,7 @@ class Node extends HttpService
/** /**
* @throws ReflectionException * @throws ReflectionException|NotFindClassException
*/ */
private function getAop(): ?IAspect private function getAop(): ?IAspect
{ {