8000 removed uneeded docblocks · symfony/symfony@53784ee · GitHub
[go: up one dir, main page]

Skip to content

Commit 53784ee

Browse files
committed
removed uneeded docblocks
1 parent 8e8ee09 commit 53784ee

File tree

211 files changed

+615
-1095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+615
-1095
lines changed

src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ public function __construct(ManagerRegistry $registry)
4040
/**
4141
* Adds the stack logger for a connection.
4242
*
43-
* @param string $name
44-
* @param DebugStack $logger
43+
* @param string $name
4544
*/
4645
public function addLogger($name, DebugStack $logger)
4746
{

src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ abstract class AbstractDoctrineExtension extends Extension
3636
protected $drivers = array();
3737

3838
/**
39-
* @param array $objectManager A configured object manager
40-
* @param ContainerBuilder $container A ContainerBuilder instance
39+
* @param array $objectManager A configured object manager
4140
*
42-
* @throws \InvalidArgumentException
41+
* @throws InvalidArgumentException
4342
*/
4443
protected function loadMappingInformation(array $objectManager, ContainerBuilder $container)
4544
{
@@ -118,10 +117,9 @@ protected function setMappingDriverAlias($mappingConfig, $mappingName)
118117
/**
119118
* Register the mapping driver configuration for later use with the object managers metadata driver chain.
120119
*
121-
* @param array $mappingConfig
122120
* @param string $mappingName
123121
*
124-
* @throws \InvalidArgumentException
122+
* @throws InvalidArgumentException
125123
*/
126124
protected function setMappingDriverConfig(array $mappingConfig, $mappingName)
127125
{
@@ -173,8 +171,7 @@ protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \Re
173171
/**
174172
* Register all the collected mapping information with the object manager by registering the appropriate mapping drivers.
175173
*
176-
* @param array $objectManager
177-
* @param ContainerBuilder $container A ContainerBuilder instance
174+
* @param array $objectManager
178175
*/
179176
protected function registerMappingDrivers($objectManager, ContainerBuilder $container)
180177
{
@@ -226,10 +223,9 @@ protected function registerMappingDrivers($objectManager, ContainerBuilder $cont
226223
/**
227224
* Assertion if the specified mapping information is valid.
228225
*
229-
* @param array $mappingConfig
230226
* @param string $objectManagerName
231227
*
232-
* @throws \InvalidArgumentException
228+
* @throws InvalidArgumentException
233229
*/
234230
protected function assertValidMappingConfiguration(array $mappingConfig, $objectManagerName)
235231
{
@@ -253,8 +249,7 @@ protected function assertValidMappingConfiguration(array $mappingConfig, $object
253249
/**
254250
* Detects what metadata driver to use for the supplied directory.
255251
*
256-
* @param string $dir A directory path
257-
* @param ContainerBuilder $container A ContainerBuilder instance
252+
* @param string $dir A directory path
258253
*
259254
* @return string|null A metadata driver short name, if one can be detected
260255
*/
@@ -289,11 +284,10 @@ protected function detectMetadataDriver($dir, ContainerBuilder $container)
289284
/**
290285
* Loads a configured object manager metadata, query or result cache driver.
291286
*
292-
* @param array $objectManager A configured object manager
293-
* @param ContainerBuilder $container A ContainerBuilder instance
294-
* @param string $cacheName
287+
* @param array $objectManager A configured object manager
288+
* @param string $cacheName
295289
*
296-
* @throws \InvalidArgumentException in case of unknown driver type
290+
* @throws InvalidArgumentException in case of unknown driver type
297291
*/
298292
protected function loadObjectManagerCacheDriver(array $objectManager, ContainerBuilder $container, $cacheName)
299293
{
@@ -303,14 +297,13 @@ protected function loadObjectManagerCacheDriver(array $objectManager, ContainerB
303297
/**
304298
* Loads a cache driver.
305299
*
306-
* @param string $cacheName The cache driver name
307-
* @param string $objectManagerName The object manager name
308-
* @param array $cacheDriver The cache driver mapping
309-
* @param ContainerBuilder $container The ContainerBuilder instance
300+
* @param string $cacheName The cache driver name
301+
* @param string $objectManagerName The object manager name
302+
* @param array $cacheDriver The cache driver mapping
310303
*
311304
* @return string
312305
*
313-
* @throws \InvalidArgumentException
306+
* @throws InvalidArgumentException
314307
*/
315308
protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheDriver, ContainerBuilder $container)
316309
{

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ public function process(ContainerBuilder $container)
4545
* Gets the validation mapping files for the format and extends them with
4646
* files matching a doctrine search pattern (Resources/config/validation.orm.xml).
4747
*
48-
* @param ContainerBuilder $container
49-
* @param string $mapping
50-
* @param string $extension
48+
* @param string $mapping
49+
* @param string $extension
5150
*/
5251
private function updateValidatorMappingFiles(ContainerBuilder $container, $mapping, $extension)
5352
{

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ private function getEventManagerDef(ContainerBuilder $container, $name)
135135
* @see https://bugs.php.net/bug.php?id=53710
136136
* @see https://bugs.php.net/bug.php?id=60926
137137
*
138-
* @param string $tagName
139-
* @param ContainerBuilder $container
138+
* @param string $tagName
140139
*
141140
* @return array
142141
*/

src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ public function getValuesForChoices(array $entities)
303303
/**
304304
* Returns the indices corresponding to the given entities.
305305
*
306-
* @param array $entities
307-
*
308306
* @return array
309307
*
310308
* @see ChoiceListInterface
@@ -346,8 +344,6 @@ public function getIndicesForChoices(array $entities)
346344
/**
347345
* Returns the entities corresponding to the given values.
348346
*
349-
* @param array $values
350-
*
351347
* @return array
352348
*
353349
* @see ChoiceListInterface

src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,8 @@ public function configureOptions(OptionsResolver $resolver)
327327
/**
328328
* Return the default loader object.
329329
*
330-
* @param ObjectManager $manager
331-
* @param mixed $queryBuilder
332-
* @param string $class
330+
* @param mixed $queryBuilder
331+
* @param string $class
333332
*
334333
* @return EntityLoaderInterface
335334
*/

src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ public function configureOptions(OptionsResolver $resolver)
4646
/**
4747
* Return the default loader object.
4848
*
49-
* @param ObjectManager $manager
50-
* @param QueryBuilder $queryBuilder
51-
* @param string $class
49+
* @param QueryBuilder $queryBuilder
50+
* @param string $class
5251
*
5352
* @return ORMQueryBuilderLoader
5453
*/

src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ class DbalSessionHandler implements \SessionHandlerInterface
5454
private $timeCol = 'sess_time';
5555

5656
/**
57-
* @param Connection $con A connection
58-
* @param string $tableName Table name
57+
* @param string $tableName Table name
5958
*/
6059
public function __construct(Connection $con, $tableName = 'sessions')
6160
{

src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ public function providerBasicDrivers()
187187

188188
/**
189189
* @param string $class
190-
* @param array $config
191190
*
192191
* @dataProvider providerBasicDrivers
193192
*/

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ public function __construct(ManagerRegistry $registry)
3333
}
3434

3535
/**
36-
* @param object $entity
37-
* @param Constraint $constraint
36+
* @param object $entity
3837
*
3938
* @throws UnexpectedTypeException
4039
* @throws ConstraintDefinitionException

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/ProxyDumperTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ protected function setUp()
3838
/**
3939
* @dataProvider getProxyCandidates
4040
*
41-
* @param Definition $definition
42-
* @param bool $expected
41+
* @param bool $expected
4342
*/
4443
public function testIsProxyCandidate(Definition $definition, $expected)
4544
{

src/Symfony/Bridge/Swiftmailer/DataCollector/MessageDataCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ class MessageDataCollector extends DataCollector
3434
* We don't inject the message logger and mailer here
3535
* to avoid the creation of these objects when no emails are sent.
3636
*
37-
* @param ContainerInterface $container A ContainerInterface instance
38-
* @param bool $isSpool
37+
* @param bool $isSpool
3938
*/
4039
public function __construct(ContainerInterface $container, $isSpool)
4140
{

src/Symfony/Bridge/Twig/NodeVisitor/TranslationNodeVisitor.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ public function getPriority()
104104
}
105105

106106
/**
107-
* @param Node $arguments
108-
* @param int $index
107+
* @param int $index
109108
*
110109
* @return string|null
111110
*/

src/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ class TemplateFinder implements TemplateFinderInterface
2929
private $templates;
3030

3131
/**
32-
* @param KernelInterface $kernel A KernelInterface instance
33-
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
34-
* @param string $rootDir The directory where global templates can be stored
32+
* @param string $rootDir The directory where global templates can be stored
3533
*/
3634
public function __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, $rootDir)
3735
{

src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,9 @@ protected function warmup($warmupDir, $realCacheDir, $enableOptionalWarmers = tr
173173
}
174174

175175
/**
176-
* @param KernelInterface $parent
177-
* @param string $namespace
178-
* @param string $parentClass
179-
* @param string $warmupDir
176+
* @param string $namespace
177+
* @param string $parentClass
178+
* @param string $warmupDir
180179
*
181180
* @return KernelInterface
182181
*/

src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
171171
* Determine the absolute file path for the router script, using the environment to choose a standard script
172172
* if no custom router script is specified.
173173
*
174-
* @param string|null $router File path of the custom router script, if set by the user; otherwise null
175-
* @param string $env The application environment
176-
* @param OutputInterface $output An OutputInterface instance
174+
* @param string|null $router File path of the custom router script, if set by the user; otherwise null
175+
* @param string $env The application environment
177176
*
178177
* @return string|bool The absolute file path of the router script, or false on failure
179178
*/
@@ -199,10 +198,9 @@ private function determineRouterScript($router, $env, OutputInterface $output)
199198
/**
200199
* Creates a process to start PHP's built-in web server.
201200
*
202-
* @param OutputInterface $output A OutputInterface instance
203-
* @param string $address IP address and port to listen to
204-
* @param string $documentRoot The application's document root
205-
* @param string $router The router filename
201+
* @param string $address IP address and port to listen to
202+
* @param string $documentRoot The application's document root
203+
* @param string $router The router filename
206204
*
207205
* @return Process The process
208206
*/

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ protected function write($content, $decorated = false)
104104
/**
105105
* Writes content to output.
106106
*
107-
* @param Table $table
108-
* @param bool $decorated
107+
* @param bool $decorated
109108
*/
110109
protected function renderTable(Table $table, $decorated = false)
111110
{
@@ -144,8 +143,7 @@ abstract protected function describeContainerTags(ContainerBuilder $builder, arr
144143
* Common options are:
145144
* * name: name of described service
146145
*
147-
* @param Definition|Alias|object $service
148-
* @param array $options
146+
* @param Definition|\Alias|object $service
149147
*/
150148
abstract protected function describeContainerService($service, array $options = array());
151149

@@ -184,7 +182,6 @@ abstract protected function describeEventDispatcherListeners(EventDispatcherInte
184182
* Describes a callable.
185183
*
186184
* @param callable $callable
187-
* @param array $options
188185
*/
189186
abstract protected function describeCallable($callable, array $options = array());
190187

@@ -231,8 +228,7 @@ protected function formatParameter($value)
231228
}
232229

233230
/**
234-
* @param ContainerBuilder $builder
235-
* @param string $serviceId
231+
* @param string $serviceId
236232
*
237233
* @return mixed
238234
*/
@@ -256,8 +252,7 @@ protected function resolveServiceDefinition(ContainerBuilder $builder, $serviceI
256252
}
257253

258254
/**
259-
* @param ContainerBuilder $builder
260-
* @param bool $showPrivate
255+
* @param bool $showPrivate
261256
*
262257
* @return array
263258
*/

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ protected function getRouteData(Route $route)
199199
}
200200

201201
/**
202-
* @param Definition $definition
203-
* @param bool $omitTags
202+
* @param bool $omitTags
204203
*
205204
* @return array
206205
*/
@@ -274,8 +273,7 @@ private function getContainerAliasData(Alias $alias)
274273
}
275274

276275
/**
277-
* @param EventDispatcherInterface $eventDispatcher
278-
* @param string|null $event
276+
* @param string|null $event
279277
*
280278
* @return array
281279
*/
@@ -303,7 +301,6 @@ private function getEventDispatcherListenersData(EventDispatcherInterface $event
303301

304302
/**
305303
* @param callable $callable
306-
* @param array $options
307304
*
308305
* @return array
309306
*/

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ private function formatCallable($callable)
435435

436436
/**
437437
* @param string $content
438-
* @param array $options
439438
*/
440439
private function writeText($content, array $options = array())
441440
{

0 commit comments

Comments
 (0)
0