This commit is contained in:
as2252258@163.com
2021-08-29 05:53:47 +08:00
parent 1cb1b0b9cb
commit c06f25fcf5
16 changed files with 152 additions and 205 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(string $aspect)
public function __construct(public string $aspect)
{
}
@@ -31,7 +31,7 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
/**
* @throws Exception
*/
public static function execute(mixed $params, mixed $class, mixed $method = ''): bool
public function execute(mixed $class, mixed $method = ''): bool
{
return true;
}