This commit is contained in:
2020-12-15 18:45:26 +08:00
parent 249a602641
commit f686f101ba
+1 -2
View File
@@ -51,8 +51,7 @@ class Reduce
if ($pipe instanceof Middleware) {
return $pipe->onHandler($passable, $stack);
} else {
var_dump($pipe);
return call_user_func($pipe, $passable, $stack);
return call_user_func($pipe[0], $passable, $stack);
}
};
};