This commit is contained in:
as2252258@163.com
2021-08-29 04:31:14 +08:00
parent 8c088c3384
commit 751bc7cc4a
5 changed files with 17 additions and 7 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ use Annotation\Attribute;
/**
* @param mixed $class
* @param static $params
* @param mixed $class
* @param mixed|null $method
* @return array
*/
+1
View File
@@ -28,6 +28,7 @@ use Http\IInterface\MiddlewareInterface;
/**
* @param static $params
* @param mixed $class
* @param mixed|null $method
* @return $this
+3 -1
View File
@@ -24,10 +24,12 @@ use Kiri\Kiri;
/**
* @param static $params
* @param mixed $class
* @param mixed|null $method
* @return Router
* @throws Exception
* @throws \Kiri\Exception\NotFindClassException
* @throws \ReflectionException
*/
public static function execute(mixed $params, mixed $class, mixed $method = null): Router
{
+1
View File
@@ -32,6 +32,7 @@ use Kiri\Kiri;
/**
* @param static $params
* @param mixed $class
* @param mixed|null $method
* @return Router