Skip to content

Commit 53b2c43

Browse files
minor #33019 Remove unneeded phpdocs (fabpot)
This PR was squashed before being merged into the 4.4 branch (closes #33019). Discussion ---------- Remove unneeded phpdocs | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 692a6e7 Remove unneeded phpdocs
2 parents 2273de0 + 692a6e7 commit 53b2c43

File tree

175 files changed

+266
-655
lines changed

Some content is hidden

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

175 files changed

+266
-655
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ public function __construct(ManagerRegistry $registry)
4545
/**
4646
* Adds the stack logger for a connection.
4747
*
48-
* @param string $name
49-
* @param DebugStack $logger
48+
* @param string $name
5049
*/
5150
public function addLogger($name, DebugStack $logger)
5251
{

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

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \Re
171171
/**
172172
* Register all the collected mapping information with the object manager by registering the appropriate mapping drivers.
173173
*
174-
* @param array $objectManager
175-
* @param ContainerBuilder $container A ContainerBuilder instance
174+
* @param array $objectManager
176175
*/
177176
protected function registerMappingDrivers($objectManager, ContainerBuilder $container)
178177
{
@@ -251,8 +250,7 @@ protected function assertValidMappingConfiguration(array $mappingConfig, $object
251250
/**
252251
* Detects what metadata driver to use for the supplied directory.
253252
*
254-
* @param string $dir A directory path
255-
* @param ContainerBuilder $container A ContainerBuilder instance
253+
* @param string $dir A directory path
256254
*
257255
* @return string|null A metadata driver short name, if one can be detected
258256
*/
@@ -285,9 +283,8 @@ protected function detectMetadataDriver($dir, ContainerBuilder $container)
285283
/**
286284
* Loads a configured object manager metadata, query or result cache driver.
287285
*
288-
* @param array $objectManager A configured object manager
289-
* @param ContainerBuilder $container A ContainerBuilder instance
290-
* @param string $cacheName
286+
* @param array $objectManager A configured object manager
287+
* @param string $cacheName
291288
*
292289
* @throws \InvalidArgumentException in case of unknown driver type
293290
*/
@@ -299,10 +296,9 @@ protected function loadObjectManagerCacheDriver(array $objectManager, ContainerB
299296
/**
300297
* Loads a cache driver.
301298
*
302-
* @param string $cacheName The cache driver name
303-
* @param string $objectManagerName The object manager name
304-
* @param array $cacheDriver The cache driver mapping
305-
* @param ContainerBuilder $container The ContainerBuilder instance
299+
* @param string $cacheName The cache driver name
300+
* @param string $objectManagerName The object manager name
301+
* @param array $cacheDriver The cache driver mapping
306302
*
307303
* @return string
308304
*

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface
4040
* passed which optimizes the object loading for one of the Doctrine
4141
* mapper implementations.
4242
*
43-
* @param ObjectManager $manager The object manager
44-
* @param string $class The class name of the loaded objects
45-
* @param IdReader|null $idReader The reader for the object IDs
46-
* @param EntityLoaderInterface|null $objectLoader The objects loader
43+
* @param string $class The class name of the loaded objects
4744
*/
4845
public function __construct(ObjectManager $manager, string $class, IdReader $idReader = null, EntityLoaderInterface $objectLoader = null)
4946
{

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface
3232
*/
3333
private $queryBuilder;
3434

35-
/**
36-
* Construct an ORM Query Builder Loader.
37-
*
38-
* @param QueryBuilder $queryBuilder The query builder for creating the query builder
39-
*/
4035
public function __construct(QueryBuilder $queryBuilder)
4136
{
4237
$this->queryBuilder = $queryBuilder;

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,8 @@ public function configureOptions(OptionsResolver $resolver)
265265
/**
266266
* Return the default loader object.
267267
*
268-
* @param ObjectManager $manager
269-
* @param mixed $queryBuilder
270-
* @param string $class
268+
* @param mixed $queryBuilder
269+
* @param string $class
271270
*
272271
* @return EntityLoaderInterface
273272
*/

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/Test/DoctrineTestHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class DoctrineTestHelper
3131
/**
3232
* Returns an entity manager for testing.
3333
*
34-
* @param Configuration|null $config
35-
*
3634
* @return EntityManager
3735
*/
3836
public static function createTestEntityManager(Configuration $config = null)

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

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

3636
/**
37-
* @param object $entity
38-
* @param Constraint $constraint
37+
* @param object $entity
3938
*
4039
* @throws UnexpectedTypeException
4140
* @throws ConstraintDefinitionException

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ final protected function ignoreAutoloadException($class, \Exception $exception)
8181
}
8282

8383
/**
84-
* @param string $cacheDir
85-
* @param ArrayAdapter $arrayAdapter
84+
* @param string $cacheDir
8685
*
8786
* @return bool false if there is nothing to warm-up
8887
*/

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

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

3636
/**
37-
* @param KernelInterface $kernel A KernelInterface instance
38-
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
39-
* @param string $rootDir The directory where global templates can be stored
37+
* @param string $rootDir The directory where global templates can be stored
4038
*/
4139
public function __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir)
4240
{

0 commit comments

Comments
 (0)