Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhemN committed Dec 10, 2020
1 parent 6d995a6 commit 0a3785f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Routing/FilteredRouteCollectionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private function matchName(string $name): bool
}
}

return 0 === count($this->options['name_patterns']);
return 0 === count($this->options['name_patterns']);
}

private function matchAnnotation(Route $route): bool
Expand Down
4 changes: 3 additions & 1 deletion Tests/Functional/Entity/ArrayItemsError/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ class Bar
{
public $things;

public function addThing(array $thing) { }
public function addThing(array $thing)
{
}
}
2 changes: 1 addition & 1 deletion Tests/Routing/FilteredRouteCollectionBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,6 @@ private function createControllerReflector(): ControllerReflector
);
}

return new ControllerReflector(new Container());
return new ControllerReflector(new Container());
}
}
2 changes: 1 addition & 1 deletion Tests/Swagger/ModelRegisterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Nelmio\ApiDocBundle\ModelDescriber\ModelDescriberInterface;
use Nelmio\ApiDocBundle\SwaggerPhp\ModelRegister;
use PHPUnit\Framework\TestCase;
use Swagger\Analysis;
use Swagger\Analysis;
use Swagger\Annotations as SWG;

class ModelRegisterTest extends TestCase
Expand Down

0 comments on commit 0a3785f

Please sign in to comment.