Skip to content

Commit 1626d73

Browse files
fabpotnicolas-grekas
authored andcommitted
removed unneeded phpdocs
1 parent 05e887a commit 1626d73

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
@@ -96,11 +96,8 @@ class Router implements RouterInterface, RequestMatcherInterface
9696
private $expressionLanguageProviders = [];
9797

9898
/**
99-
* @param LoaderInterface $loader A LoaderInterface instance
100-
* @param mixed $resource The main resource to load
101-
* @param array $options An array of options
102-
* @param RequestContext $context The context
103-
* @param LoggerInterface $logger A logger instance
99+
* @param mixed $resource The main resource to load
100+
* @param array $options An array of options
104101
*/
105102
public function __construct(LoaderInterface $loader, $resource, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, string $defaultLocale = null)
106103
{

0 commit comments

Comments
 (0)