Skip to content
Snippets Groups Projects

Update isMethodType to compare case-insensitively

2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -642,7 +642,7 @@ public function setMethod($method) {
* {@inheritdoc}
*/
public function isMethodType($method_type) {
return $this->method === strtoupper($method_type);
return strtoupper($this->method) === strtoupper($method_type);
}
/**
Loading