Skip to content

Commit

Permalink
Fixed coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfsimon committed Oct 22, 2012
1 parent fd405af commit 6a6b1d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Knp/Menu/Tests/Silex/Voter/RouteVoterTest.php
Expand Up @@ -42,8 +42,10 @@ public function testMatching($route, array $parameters, $itemRoutes, array $item
->with($this->logicalOr($this->equalTo('routes'), $this->equalTo('routesParameters'))) ->with($this->logicalOr($this->equalTo('routes'), $this->equalTo('routesParameters')))
->will($this->returnCallback(function ($parameter) use ($itemRoutes, $itemsRoutesParameters) { ->will($this->returnCallback(function ($parameter) use ($itemRoutes, $itemsRoutesParameters) {
switch ($parameter) { switch ($parameter) {
case 'routes': return $itemRoutes; case 'routes':
case 'routesParameters': return $itemsRoutesParameters; return $itemRoutes;
case 'routesParameters':
return $itemsRoutesParameters;
} }
})); }));


Expand Down

0 comments on commit 6a6b1d6

Please sign in to comment.