We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cefa19a + 74fcbfa commit b98c0beCopy full SHA for b98c0be
src/Symfony/Component/HttpFoundation/Request.php
@@ -1231,7 +1231,7 @@ public function getMethod(): string
1231
}
1232
1233
if (!preg_match('/^[A-Z]++$/D', $method)) {
1234
- throw new SuspiciousOperationException(sprintf('Invalid method override "%s".', $method));
+ throw new SuspiciousOperationException('Invalid HTTP method override.');
1235
1236
1237
return $this->method = $method;
0 commit comments