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.
2 parents ac3e212 + b689ccd commit a252cd9Copy full SHA for a252cd9
Matcher/UrlMatcher.php
@@ -93,9 +93,7 @@ public function match($pathinfo)
93
throw new NoConfigurationException();
94
}
95
96
- throw 0 < \count($this->allow)
97
- ? new MethodNotAllowedException(array_unique($this->allow))
98
- : 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));
99
100
101
/**
0 commit comments