This commit is contained in:
2020-12-14 17:44:56 +08:00
parent 55092f1aa7
commit c55078891d
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -46,10 +46,10 @@ class Middleware
/**
* @param Node $node
* @return array
* @return mixed
* @throws Exception
*/
public function getGenerate(Node $node): array
public function getGenerate(Node $node): mixed
{
return $node->callback = Reduce::reduce(function ($passable) use ($node) {
return Dispatch::create($node->handler, $passable)->dispatch();