111
This commit is contained in:
@@ -32,7 +32,8 @@ use Annotation\Attribute;
|
||||
|
||||
|
||||
/**
|
||||
* @param mixed $class
|
||||
* @param static $params
|
||||
* @param mixed $class
|
||||
* @param mixed|null $method
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -28,6 +28,7 @@ use Http\IInterface\MiddlewareInterface;
|
||||
|
||||
|
||||
/**
|
||||
* @param static $params
|
||||
* @param mixed $class
|
||||
* @param mixed|null $method
|
||||
* @return $this
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -32,6 +32,7 @@ use Kiri\Kiri;
|
||||
|
||||
|
||||
/**
|
||||
* @param static $params
|
||||
* @param mixed $class
|
||||
* @param mixed|null $method
|
||||
* @return Router
|
||||
|
||||
Reference in New Issue
Block a user