This commit is contained in:
as2252258@163.com
2021-08-29 04:06:49 +08:00
parent 9da50baed0
commit 133ca2c273
21 changed files with 356 additions and 495 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
* Aspect constructor.
* @param string $aspect
*/
public function __construct(public string $aspect)
public function __construct(string $aspect)
{
}
@@ -31,7 +31,7 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
/**
* @throws Exception
*/
public function execute(mixed $class, mixed $method = ''): bool
public static function execute(mixed $params, mixed $class, mixed $method = ''): bool
{
return true;
}