Skip to content

Commit 0e8b7ef

Browse files
Merge branch '4.4'
* 4.4: bump phpunit-bridge cache-id removed unneeded phpdocs Use assertStringContainsString when needed Use assert assertContainsEquals when needed Use assertEqualsWithDelta when required
2 parents 17d1836 + 1626d73 commit 0e8b7ef

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

Loader/YamlFileLoader.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,9 @@ public function supports($resource, $type = null)
101101
/**
102102
* Parses a route and adds it to the RouteCollection.
103103
*
104-
* @param RouteCollection $collection A RouteCollection instance
105-
* @param string $name Route name
106-
* @param array $config Route definition
107-
* @param string $path Full path of the YAML file being processed
104+
* @param string $name Route name
105+
* @param array $config Route definition
106+
* @param string $path Full path of the YAML file being processed
108107
*/
109108
protected function parseRoute(RouteCollection $collection, $name, array $config, $path)
110109
{
@@ -154,10 +153,9 @@ protected function parseRoute(RouteCollection $collection, $name, array $config,
154153
/**
155154
* Parses an import and adds the routes in the resource to the RouteCollection.
156155
*
157-
* @param RouteCollection $collection A RouteCollection instance
158-
* @param array $config Route definition
159-
* @param string $path Full path of the YAML file being processed
160-
* @param string $file Loaded file name
156+
* @param array $config Route definition
157+
* @param string $path Full path of the YAML file being processed
158+
* @param string $file Loaded file name
161159
*/
162160
protected function parseImport(RouteCollection $collection, array $config, $path, $file)
163161
{

Router.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,8 @@ class Router implements RouterInterface, RequestMatcherInterface
9393
private $expressionLanguageProviders = [];
9494

9595
/**
96-
* @param LoaderInterface $loader A LoaderInterface instance
97-
* @param mixed $resource The main resource to load
98-
* @param array $options An array of options
99-
* @param RequestContext $context The context
100-
* @param LoggerInterface $logger A logger instance
96+
* @param mixed $resource The main resource to load
97+
* @param array $options An array of options
10198
*/
10299
public function __construct(LoaderInterface $loader, $resource, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, string $defaultLocale = null)
103100
{

0 commit comments

Comments
 (0)