Skip to content

Commit 145b6f6

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fix CS Fix CS Fix CS [DependencyInjection][Xml] Fix the attribute 'tag' is not allowed in 'bind' tag
2 parents 13a042c + 51f3f20 commit 145b6f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Matcher/UrlMatcher.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ public function match(string $pathinfo)
9393
throw new NoConfigurationException();
9494
}
9595

96-
throw 0 < \count($this->allow)
97-
? new MethodNotAllowedException(array_unique($this->allow))
98-
: new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
96+
throw 0 < \count($this->allow) ? new MethodNotAllowedException(array_unique($this->allow)) : new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
9997
}
10098

10199
/**

0 commit comments

Comments
 (0)