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 13a042c + 51f3f20 commit 145b6f6Copy full SHA for 145b6f6
Matcher/UrlMatcher.php
@@ -93,9 +93,7 @@ public function match(string $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