Skip to content

Commit 91ed934

Browse files
Merge branch '3.3' into 3.4
* 3.3: [DI] minor docblock fixes
2 parents ce62b9a + 6df0bf1 commit 91ed934

25 files changed

+1
-251
lines changed

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
@@ -152,8 +152,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
152152
/**
153153
* Validates input arguments and options.
154154
*
155-
* @param InputInterface $input
156-
*
157155
* @throws \InvalidArgumentException
158156
*/
159157
protected function validateInput(InputInterface $input)

Console/Application.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class Application extends BaseApplication
3333
private $commandsRegistered = false;
3434
private $registrationErrors = array();
3535

36-
/**
37-
* @param KernelInterface $kernel A KernelInterface instance
38-
*/
3936
public function __construct(KernelInterface $kernel)
4037
{
4138
$this->kernel = $kernel;
@@ -59,9 +56,6 @@ public function getKernel()
5956
/**
6057
* Runs the current application.
6158
*
62-
* @param InputInterface $input An Input instance
63-
* @param OutputInterface $output An Output instance
64-
*
6559
* @return int 0 if everything went fine, or an error code
6660
*/
6761
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)
@@ -280,8 +275,6 @@ private function getContainerDefinitionData(Definition $definition, $omitTags =
280275
}
281276

282277
/**
283-
* @param Alias $alias
284-
*
285278
* @return array
286279
*/
287280
private function getContainerAliasData(Alias $alias)

Console/Descriptor/MarkdownDescriptor.php

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

370370
/**
371-
* @param array $array
372-
*
373371
* @return string
374372
*/
375373
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)