Skip to content

Commit 6df0bf1

Browse files
Merge branch '2.8' into 3.3
* 2.8: [DI] minor docblock fixes
2 parents 93857b7 + a16596d commit 6df0bf1

27 files changed

+1
-258
lines changed

CacheWarmer/RouterCacheWarmer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class RouterCacheWarmer implements CacheWarmerInterface
2424
{
2525
protected $router;
2626

27-
/**
28-
* @param RouterInterface $router A Router instance
29-
*/
3027
public function __construct(RouterInterface $router)
3128
{
3229
$this->router = $router;

CacheWarmer/TemplatePathsCacheWarmer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ class TemplatePathsCacheWarmer extends CacheWarmer
2525
protected $finder;
2626
protected $locator;
2727

28-
/**
29-
* @param TemplateFinderInterface $finder A template finder
30-
* @param TemplateLocator $locator The template locator
31-
*/
3228
public function __construct(TemplateFinderInterface $finder, TemplateLocator $locator)
3329
{
3430
$this->finder = $finder;

Command/ContainerDebugCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
149149
/**
150150
* Validates input arguments and options.
151151
*
152-
* @param InputInterface $input
153-
*
154152
* @throws \InvalidArgumentException
155153
*/
156154
protected function validateInput(InputInterface $input)

Console/Application.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ class Application extends BaseApplication
2929
private $kernel;
3030
private $commandsRegistered = false;
3131

32-
/**
33-
* @param KernelInterface $kernel A KernelInterface instance
34-
*/
3532
public function __construct(KernelInterface $kernel)
3633
{
3734
$this->kernel = $kernel;
@@ -55,9 +52,6 @@ public function getKernel()
5552
/**
5653
* Runs the current application.
5754
*
58-
* @param InputInterface $input An Input instance
59-
* @param OutputInterface $output An Output instance
60-
*
6155
* @return int 0 if everything went fine, or an error code
6256
*/
6357
public function doRun(InputInterface $input, OutputInterface $output)

Console/Descriptor/Descriptor.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -102,33 +102,21 @@ protected function write($content, $decorated = false)
102102

103103
/**
104104
* Describes an InputArgument instance.
105-
*
106-
* @param RouteCollection $routes
107-
* @param array $options
108105
*/
109106
abstract protected function describeRouteCollection(RouteCollection $routes, array $options = array());
110107

111108
/**
112109
* Describes an InputOption instance.
113-
*
114-
* @param Route $route
115-
* @param array $options
116110
*/
117111
abstract protected function describeRoute(Route $route, array $options = array());
118112

119113
/**
120114
* Describes container parameters.
121-
*
122-
* @param ParameterBag $parameters
123-
* @param array $options
124115
*/
125116
abstract protected function describeContainerParameters(ParameterBag $parameters, array $options = array());
126117

127118
/**
128119
* Describes container tags.
129-
*
130-
* @param ContainerBuilder $builder
131-
* @param array $options
132120
*/
133121
abstract protected function describeContainerTags(ContainerBuilder $builder, array $options = array());
134122

@@ -149,34 +137,21 @@ abstract protected function describeContainerService($service, array $options =
149137
*
150138
* Common options are:
151139
* * tag: filters described services by given tag
152-
*
153-
* @param ContainerBuilder $builder
154-
* @param array $options
155140
*/
156141
abstract protected function describeContainerServices(ContainerBuilder $builder, array $options = array());
157142

158143
/**
159144
* Describes a service definition.
160-
*
161-
* @param Definition $definition
162-
* @param array $options
163145
*/
164146
abstract protected function describeContainerDefinition(Definition $definition, array $options = array());
165147

166148
/**
167149
* Describes a service alias.
168-
*
169-
* @param Alias $alias
170-
* @param array $options
171-
* @param ContainerBuilder|null $builder
172150
*/
173151
abstract protected function describeContainerAlias(Alias $alias, array $options = array(), ContainerBuilder $builder = null);
174152

175153
/**
176154
* Describes a container parameter.
177-
*
178-
* @param string $parameter
179-
* @param array $options
180155
*/
181156
abstract protected function describeContainerParameter($parameter, array $options = array());
182157

@@ -185,9 +160,6 @@ abstract protected function describeContainerParameter($parameter, array $option
185160
*
186161
* Common options are:
187162
* * name: name of listened event
188-
*
189-
* @param EventDispatcherInterface $eventDispatcher
190-
* @param array $options
191163
*/
192164
abstract protected function describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array());
193165

Console/Descriptor/JsonDescriptor.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ protected function describeContainerParameter($parameter, array $options = array
180180
/**
181181
* Writes data as json.
182182
*
183-
* @param array $data
184-
* @param array $options
185-
*
186183
* @return array|string
187184
*/
188185
private function writeData(array $data, array $options)
@@ -192,8 +189,6 @@ private function writeData(array $data, array $options)
192189
}
193190

194191
/**
195-
* @param Route $route
196-
*
197192
* @return array
198193
*/
199194
protected function getRouteData(Route $route)
@@ -277,8 +272,6 @@ private function getContainerDefinitionData(Definition $definition, $omitTags =
277272
}
278273

279274
/**
280-
* @param Alias $alias
281-
*
282275
* @return array
283276
*/
284277
private function getContainerAliasData(Alias $alias)

Console/Descriptor/MarkdownDescriptor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,6 @@ protected function describeCallable($callable, array $options = array())
365365
}
366366

367367
/**
368-
* @param array $array
369-
*
370368
* @return string
371369
*/
372370
private function formatRouterConfig(array $array)

Console/Descriptor/XmlDescriptor.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ protected function describeContainerParameter($parameter, array $options = array
133133
/**
134134
* Writes DOM document.
135135
*
136-
* @param \DOMDocument $dom
137-
*
138136
* @return \DOMDocument|string
139137
*/
140138
private function writeDocument(\DOMDocument $dom)
@@ -144,8 +142,6 @@ private function writeDocument(\DOMDocument $dom)
144142
}
145143

146144
/**
147-
* @param RouteCollection $routes
148-
*
149145
* @return \DOMDocument
150146
*/
151147
private function getRouteCollectionDocument(RouteCollection $routes)
@@ -231,8 +227,6 @@ private function getRouteDocument(Route $route, $name = null)
231227
}
232228

233229
/**
234-
* @param ParameterBag $parameters
235-
*
236230
* @return \DOMDocument
237231
*/
238232
private function getContainerParametersDocument(ParameterBag $parameters)
@@ -483,9 +477,6 @@ private function getContainerAliasDocument(Alias $alias, $id = null)
483477
}
484478

485479
/**
486-
* @param string $parameter
487-
* @param array $options
488-
*
489480
* @return \DOMDocument
490481
*/
491482
private function getContainerParameterDocument($parameter, $options = array())

Controller/ControllerNameParser.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class ControllerNameParser
2424
{
2525
protected $kernel;
2626

27-
/**
28-
* @param KernelInterface $kernel A KernelInterface instance
29-
*/
3027
public function __construct(KernelInterface $kernel)
3128
{
3229
$this->kernel = $kernel;

Controller/ControllerResolver.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ class ControllerResolver extends ContainerControllerResolver
2323
{
2424
protected $parser;
2525

26-
/**
27-
* @param ContainerInterface $container A ContainerInterface instance
28-
* @param ControllerNameParser $parser A ControllerNameParser instance
29-
* @param LoggerInterface $logger A LoggerInterface instance
30-
*/
3126
public function __construct(ContainerInterface $container, ControllerNameParser $parser, LoggerInterface $logger = null)
3227
{
3328
$this->parser = $parser;

0 commit comments

Comments
 (0)