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 3ba5990 commit b689ccdCopy full SHA for b689ccd
Matcher/UrlMatcher.php
@@ -80,9 +80,7 @@ public function match($pathinfo)
80
throw new NoConfigurationException();
81
}
82
83
- throw 0 < \count($this->allow)
84
- ? new MethodNotAllowedException(array_unique($this->allow))
85
- : new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
+ throw 0 < \count($this->allow) ? new MethodNotAllowedException(array_unique($this->allow)) : new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
86
87
88
/**
0 commit comments