Skip to content

Commit

Permalink
strict fix [Closes #250]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 20, 2020
1 parent 906d0d7 commit 2974fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function getMethod(): ?string
*/
public function isMethod(string $method): bool
{
return strcasecmp($this->method, $method) === 0;
return strcasecmp((string) $this->method, $method) === 0;
}


Expand Down

0 comments on commit 2974fbf

Please sign in to comment.