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.
1 parent 706d862 commit 596f8bbCopy full SHA for 596f8bb
src/Symfony/Component/HttpFoundation/Request.php
@@ -1294,7 +1294,7 @@ public function getMethod()
1294
}
1295
1296
if (!preg_match('/^[A-Z]++$/D', $method)) {
1297
- throw new SuspiciousOperationException(sprintf('Invalid method override "%s".', $method));
+ throw new SuspiciousOperationException('Invalid HTTP method override.');
1298
1299
1300
return $this->method = $method;
0 commit comments