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 376ea79 commit 37b3f5eCopy full SHA for 37b3f5e
1 file changed
src/Request.php
@@ -540,7 +540,7 @@ public function getParsedBody(
540
array | int $filterOptions = 0
541
) : mixed {
542
// TODO: If enable_post_data_reading ini-setting is disabled, getPost will always be empty!
543
- if ($this->getMethod() === Method::POST) {
+ if ($this->isMethod(Method::POST)) {
544
return $this->getPost($name, $filter, $filterOptions);
545
}
546
if (!$this->isParsedBody()) {
0 commit comments