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 4c0341b + 38bd9bc commit 4875486Copy full SHA for 4875486
1 file changed
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