This commit is contained in:
2021-07-12 17:17:36 +08:00
parent f2083f1eaf
commit 857ec53870
20 changed files with 384 additions and 346 deletions
+4 -3
View File
@@ -28,9 +28,10 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
}
public function execute(mixed $class, mixed $method = ''): mixed
/**
* @throws Exception
*/
public function execute(mixed $class, mixed $method = ''): bool
{
// TODO: Change the autogenerated stub
if (!in_array(IAspect::class, class_implements($this->aspect))) {