diff --git a/src/Middleware/AllowedMethodsMiddleware.php b/src/Middleware/AllowedMethodsMiddleware.php index a3c97e88..93e1c69c 100644 --- a/src/Middleware/AllowedMethodsMiddleware.php +++ b/src/Middleware/AllowedMethodsMiddleware.php @@ -64,7 +64,7 @@ public function handleRequest(Request $request, RequestHandler $requestHandler): */ public function getAllowedMethods(): array { - return array_values($this->allowedMethods); + return \array_values($this->allowedMethods); } private function handleInvalidMethod(Request $request, int $status): Response