This commit is contained in:
2023-12-19 16:26:23 +08:00
parent a51b666303
commit 37c617b26f
4 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate
$found = di(NotFoundController::class);
$reflection = new ReflectionMethod($found, 'fail');
$this->found = new Handler([$found, 'fail'], [], $reflection->getReturnType());
$this->found = new Handler([$found, 'fail'], $reflection);
}