Skip to content

Commit

Permalink
fix psr2
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Appel committed Feb 17, 2016
1 parent be06eee commit 90e76f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Loader/PhpLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ protected function doLoad($file)
private function addRoutes(array $routes)
{
foreach ($routes as $name => $route) {

if ((bool)$gkeys = $this->getGroupKeys($route)) {
$req = isset($route['requirements']) ? $route['requirements'] : [];
foreach ($gkeys as $i) {
Expand Down
1 change: 0 additions & 1 deletion src/Matcher/MatcherTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ private function getMatchFailureReason(array $nomatch, Request $request)
});

foreach ($reduce as $name => $route) {

if (!$this->matchHost($route->getContext(), $request, $route->getHost())) {
return RequestMatcherInterface::NOMATCH_HOST;
}
Expand Down
1 change: 0 additions & 1 deletion src/Matcher/RequestMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public function matchRequest(Request $request, RouteCollectionInterface $routes)
$nomatch = array_diff_key($routes->all(), $filtered->all());

foreach ($filtered->all() as $name => $route) {

$rctx = $route->getContext();

// does it match host?
Expand Down

0 comments on commit 90e76f8

Please sign in to comment.