Skip to content

Commit a16596d

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents 0e51fde + 2bb9fec commit a16596d

28 files changed

+1
-240
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
@@ -24,10 +24,6 @@ class TemplatePathsCacheWarmer extends CacheWarmer
2424
protected $finder;
2525
protected $locator;
2626

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

Command/ContainerDebugCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
132132
/**
133133
* Validates input arguments and options.
134134
*
135-
* @param InputInterface $input
136-
*
137135
* @throws \InvalidArgumentException
138136
*/
139137
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;
@@ -57,9 +54,6 @@ public function getKernel()
5754
/**
5855
* Runs the current application.
5956
*
60-
* @param InputInterface $input An Input instance
61-
* @param OutputInterface $output An Output instance
62-
*
6357
* @return int 0 if everything went fine, or an error code
6458
*/
6559
public function doRun(InputInterface $input, OutputInterface $output)

Console/Descriptor/Descriptor.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -120,33 +120,21 @@ protected function renderTable(Table $table, $decorated = false)
120120

121121
/**
122122
* Describes an InputArgument instance.
123-
*
124-
* @param RouteCollection $routes
125-
* @param array $options
126123
*/
127124
abstract protected function describeRouteCollection(RouteCollection $routes, array $options = array());
128125

129126
/**
130127
* Describes an InputOption instance.
131-
*
132-
* @param Route $route
133-
* @param array $options
134128
*/
135129
abstract protected function describeRoute(Route $route, array $options = array());
136130

137131
/**
138132
* Describes container parameters.
139-
*
140-
* @param ParameterBag $parameters
141-
* @param array $options
142133
*/
143134
abstract protected function describeContainerParameters(ParameterBag $parameters, array $options = array());
144135

145136
/**
146137
* Describes container tags.
147-
*
148-
* @param ContainerBuilder $builder
149-
* @param array $options
150138
*/
151139
abstract protected function describeContainerTags(ContainerBuilder $builder, array $options = array());
152140

@@ -166,33 +154,21 @@ abstract protected function describeContainerService($service, array $options =
166154
*
167155
* Common options are:
168156
* * tag: filters described services by given tag
169-
*
170-
* @param ContainerBuilder $builder
171-
* @param array $options
172157
*/
173158
abstract protected function describeContainerServices(ContainerBuilder $builder, array $options = array());
174159

175160
/**
176161
* Describes a service definition.
177-
*
178-
* @param Definition $definition
179-
* @param array $options
180162
*/
181163
abstract protected function describeContainerDefinition(Definition $definition, array $options = array());
182164

183165
/**
184166
* Describes a service alias.
185-
*
186-
* @param Alias $alias
187-
* @param array $options
188167
*/
189168
abstract protected function describeContainerAlias(Alias $alias, array $options = array());
190169

191170
/**
192171
* Describes a container parameter.
193-
*
194-
* @param string $parameter
195-
* @param array $options
196172
*/
197173
abstract protected function describeContainerParameter($parameter, array $options = array());
198174

@@ -201,9 +177,6 @@ abstract protected function describeContainerParameter($parameter, array $option
201177
*
202178
* Common options are:
203179
* * name: name of listened event
204-
*
205-
* @param EventDispatcherInterface $eventDispatcher
206-
* @param array $options
207180
*/
208181
abstract protected function describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array());
209182

Console/Descriptor/JsonDescriptor.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,6 @@ protected function describeContainerParameter($parameter, array $options = array
163163
/**
164164
* Writes data as json.
165165
*
166-
* @param array $data
167-
* @param array $options
168-
*
169166
* @return array|string
170167
*/
171168
private function writeData(array $data, array $options)
@@ -180,8 +177,6 @@ private function writeData(array $data, array $options)
180177
}
181178

182179
/**
183-
* @param Route $route
184-
*
185180
* @return array
186181
*/
187182
protected function getRouteData(Route $route)
@@ -269,8 +264,6 @@ private function getContainerDefinitionData(Definition $definition, $omitTags =
269264
}
270265

271266
/**
272-
* @param Alias $alias
273-
*
274267
* @return array
275268
*/
276269
private function getContainerAliasData(Alias $alias)

Console/Descriptor/MarkdownDescriptor.php

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

357357
/**
358-
* @param array $array
359-
*
360358
* @return string
361359
*/
362360
private function formatRouterConfig(array $array)

Console/Descriptor/XmlDescriptor.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ protected function describeContainerParameter($parameter, array $options = array
122122
/**
123123
* Writes DOM document.
124124
*
125-
* @param \DOMDocument $dom
126-
*
127125
* @return \DOMDocument|string
128126
*/
129127
private function writeDocument(\DOMDocument $dom)
@@ -133,8 +131,6 @@ private function writeDocument(\DOMDocument $dom)
133131
}
134132

135133
/**
136-
* @param RouteCollection $routes
137-
*
138134
* @return \DOMDocument
139135
*/
140136
private function getRouteCollectionDocument(RouteCollection $routes)
@@ -220,8 +216,6 @@ private function getRouteDocument(Route $route, $name = null)
220216
}
221217

222218
/**
223-
* @param ParameterBag $parameters
224-
*
225219
* @return \DOMDocument
226220
*/
227221
private function getContainerParametersDocument(ParameterBag $parameters)
@@ -412,9 +406,6 @@ private function getContainerAliasDocument(Alias $alias, $id = null)
412406
}
413407

414408
/**
415-
* @param string $parameter
416-
* @param array $options
417-
*
418409
* @return \DOMDocument
419410
*/
420411
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
@@ -24,11 +24,6 @@ class ControllerResolver extends BaseControllerResolver
2424
protected $container;
2525
protected $parser;
2626

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

0 commit comments

Comments
 (0)