Improve return types.

This commit is contained in:
kj
2023-04-22 05:32:37 -04:00
parent b326c8e1d0
commit d48f24ed98
3 changed files with 43 additions and 43 deletions

View File

@ -20,7 +20,7 @@ class Middleware {
*
* @return mixed
*/
public static function next(Neuron $req) {
public static function next(Neuron $req): mixed {
$next = array_pop($req->next);
return call_user_func_array($next, [$req]);
}