Skip to content

Commit

Permalink
Fix typo (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
calc2te authored Apr 3, 2024
1 parent d1b72f4 commit f5c3411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Http/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
Expand Down

0 comments on commit f5c3411

Please sign in to comment.