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 d20d7e1 + a252cd9 commit 51f3f20Copy full SHA for 51f3f20
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