diff --git a/Request.php b/Request.php index fc37c32cc..39de8d390 100644 --- a/Request.php +++ b/Request.php @@ -1231,7 +1231,7 @@ public function getMethod(): string } if (!preg_match('/^[A-Z]++$/D', $method)) { - throw new SuspiciousOperationException(sprintf('Invalid method override "%s".', $method)); + throw new SuspiciousOperationException('Invalid HTTP method override.'); } return $this->method = $method;