Reorganize code for PSR and others code prettify.

This commit is contained in:
KJ
2024-05-09 15:13:52 -04:00
parent 6a1085b224
commit f5f803dde2
7 changed files with 191 additions and 67 deletions

View File

@ -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]);
}