diff --git a/src/router/BaseRouter.php b/src/router/BaseRouter.php index 3088912..6120319 100644 --- a/src/router/BaseRouter.php +++ b/src/router/BaseRouter.php @@ -44,7 +44,7 @@ final public function routeMethodAndPath( continue; } } - if (!C\empty($allowed)) { + if (!C\is_empty($allowed)) { throw new MethodNotAllowedException($allowed); }