diff --git a/src/Servers/Reverb/Http/Router.php b/src/Servers/Reverb/Http/Router.php index 1f246b02..ec15c913 100644 --- a/src/Servers/Reverb/Http/Router.php +++ b/src/Servers/Reverb/Http/Router.php @@ -48,7 +48,7 @@ public function dispatch(RequestInterface $request, Connection $connection): mix try { $route = $this->matcher->match($uri->getPath()); } catch (MethodNotAllowedException $e) { - return $this->close($connection, 405, 'Method now allowed.', ['Allow' => $e->getAllowedMethods()]); + return $this->close($connection, 405, 'Method not allowed.', ['Allow' => $e->getAllowedMethods()]); } catch (ResourceNotFoundException $e) { return $this->close($connection, 404, 'Not found.'); }