Skip to content

Commit 2b95ba3

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents 2627081 + 962687e commit 2b95ba3

File tree

421 files changed

+42
-2588
lines changed

Some content is hidden

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

421 files changed

+42
-2588
lines changed

src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ class ProxyCacheWarmer implements CacheWarmerInterface
2626
{
2727
private $registry;
2828

29-
/**
30-
* @param ManagerRegistry $registry A ManagerRegistry instance
31-
*/
3229
public function __construct(ManagerRegistry $registry)
3330
{
3431
$this->registry = $registry;

src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class ContainerAwareEventManager extends EventManager
2626
* Map of registered listeners.
2727
*
2828
* <event> => <listeners>
29-
*
30-
* @var array
3129
*/
3230
private $listeners = array();
3331
private $initialized = array();

src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,8 @@
2525
*/
2626
class ContainerAwareLoader extends Loader
2727
{
28-
/**
29-
* @var ContainerInterface
30-
*/
3128
private $container;
3229

33-
/**
34-
* @param ContainerInterface $container A ContainerInterface instance
35-
*/
3630
public function __construct(ContainerInterface $container)
3731
{
3832
$this->container = $container;

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ abstract class AbstractDoctrineExtension extends Extension
2727
{
2828
/**
2929
* Used inside metadata driver method to simplify aggregation of data.
30-
*
31-
* @var array
3230
*/
3331
protected $aliasMap = array();
3432

3533
/**
3634
* Used inside metadata driver method to simplify aggregation of data.
37-
*
38-
* @var array
3935
*/
4036
protected $drivers = array();
4137

@@ -142,10 +138,6 @@ protected function setMappingDriverConfig(array $mappingConfig, $mappingName)
142138
*
143139
* Returns false when autodetection failed, an array of the completed information otherwise.
144140
*
145-
* @param array $bundleConfig
146-
* @param \ReflectionClass $bundle
147-
* @param ContainerBuilder $container A ContainerBuilder instance
148-
*
149141
* @return array|false
150142
*/
151143
protected function getMappingDriverBundleConfigDefaults(array $bundleConfig, \ReflectionClass $bundle, ContainerBuilder $container)
@@ -402,9 +394,6 @@ protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheD
402394
*
403395
* The manager called $autoMappedManager will map all bundles that are not mapped by other managers.
404396
*
405-
* @param array $managerConfigs
406-
* @param array $bundles
407-
*
408397
* @return array The modified version of $managerConfigs
409398
*/
410399
protected function fixManagersAutoMappings(array $managerConfigs, array $bundles)
@@ -464,8 +453,6 @@ abstract protected function getMappingResourceExtension();
464453
/**
465454
* Search for a manager that is declared as 'auto_mapping' = true.
466455
*
467-
* @param array $managerConfigs
468-
*
469456
* @return null|string The name of the manager. If no one manager is found, returns null
470457
*
471458
* @throws \LogicException

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ public function __construct($driver, array $namespaces, array $managerParameters
134134

135135
/**
136136
* Register mappings and alias with the metadata drivers.
137-
*
138-
* @param ContainerBuilder $container
139137
*/
140138
public function process(ContainerBuilder $container)
141139
{
@@ -167,8 +165,6 @@ public function process(ContainerBuilder $container)
167165
* Get the service name of the metadata chain driver that the mappings
168166
* should be registered with.
169167
*
170-
* @param ContainerBuilder $container
171-
*
172168
* @return string The name of the chain driver service
173169
*
174170
* @throws ParameterNotFoundException if non of the managerParameters has a
@@ -195,8 +191,6 @@ protected function getDriver(ContainerBuilder $container)
195191
/**
196192
* Get the service name from the pattern and the configured manager name.
197193
*
198-
* @param ContainerBuilder $container
199-
*
200194
* @return string a service definition name
201195
*
202196
* @throws ParameterNotFoundException if none of the managerParameters has a
@@ -213,8 +207,6 @@ private function getConfigurationServiceName(ContainerBuilder $container)
213207
* The default implementation loops over the managerParameters and returns
214208
* the first non-empty parameter.
215209
*
216-
* @param ContainerBuilder $container
217-
*
218210
* @return string The name of the active manager
219211
*
220212
* @throws ParameterNotFoundException if none of the managerParameters is found in the container
@@ -240,8 +232,6 @@ private function getManagerName(ContainerBuilder $container)
240232
* This default implementation checks if the class has the enabledParameter
241233
* configured and if so if that parameter is present in the container.
242234
*
243-
* @param ContainerBuilder $container
244-
*
245235
* @return bool whether this compiler pass really should register the mappings
246236
*/
247237
protected function enabled(ContainerBuilder $container)

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ public function getRemainingViews()
214214
/**
215215
* Returns the entities corresponding to the given values.
216216
*
217-
* @param array $values
218-
*
219217
* @return array
220218
*
221219
* @see ChoiceListInterface
@@ -267,8 +265,6 @@ public function getChoicesForValues(array $values)
267265
/**
268266
* Returns the values corresponding to the given entities.
269267
*
270-
* @param array $entities
271-
*
272268
* @return array
273269
*
274270
* @see ChoiceListInterface

src/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class CollectionToArrayTransformer implements DataTransformerInterface
2424
/**
2525
* Transforms a collection into an array.
2626
*
27-
* @param Collection $collection A collection of entities
28-
*
2927
* @return mixed An array of entities
3028
*
3129
* @throws TransformationFailedException

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ public function getQueryBuilderPartsForCachingHash($queryBuilder)
9595
/**
9696
* Converts a query parameter to an array.
9797
*
98-
* @param Parameter $parameter The query parameter
99-
*
10098
* @return array The array representation of the parameter
10199
*/
102100
private function parameterToArray(Parameter $parameter)

src/Symfony/Bridge/Doctrine/Logger/DbalLogger.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ class DbalLogger implements SQLLogger
2626
protected $logger;
2727
protected $stopwatch;
2828

29-
/**
30-
* @param LoggerInterface $logger A LoggerInterface instance
31-
* @param Stopwatch $stopwatch A Stopwatch instance
32-
*/
3329
public function __construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null)
3430
{
3531
$this->logger = $logger;

src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ class DoctrineTokenProvider implements TokenProviderInterface
4545
*/
4646
private $conn;
4747

48-
/**
49-
* new DoctrineTokenProvider for the RememberMe authentication service.
50-
*
51-
* @param Connection $conn
52-
*/
5348
public function __construct(Connection $conn)
5449
{
5550
$this->conn = $conn;

0 commit comments

Comments
 (0)