Reorganize code for PSR and others code prettify.
This commit is contained in:
@ -20,7 +20,8 @@ class Middleware {
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public static function next(Neuron $req): mixed {
|
||||
public static function next(Neuron $req): mixed
|
||||
{
|
||||
$next = array_pop($req->next);
|
||||
return call_user_func_array($next, [$req]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user