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 f38d729 commit c21f706Copy full SHA for c21f706
src/WaterPipe/WaterPipe.php
@@ -505,9 +505,7 @@ private function _executeRequest()
505
506
switch (Request::capture()->getMethod()) {
507
case RequestMethod::UNKNOWN:
508
- if (isset($this->_errorsRegistry[500]))
509
- return $this->_executeAction($this->_errorsRegistry[500]);
510
- else throw new UnsupportedRequestMethodException();
+ throw new UnsupportedRequestMethodException();
511
512
case RequestMethod::GET:
513
$registry = $this->_getRequestRegistry;
0 commit comments