This commit is contained in:
as2252258@163.com
2021-04-20 00:31:43 +08:00
parent 118297271a
commit 3b9029ac29
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class Dispatch
* @throws NotFindClassException
* @throws ReflectionException
*/
public static function create($handler, $request): static
public static function create($handler,...$request): static
{
$class = new static();
$class->handler = $handler;