Skip to content

Commit 33e9eec

Browse files
[DI] minor docblock fixes
1 parent d0debad commit 33e9eec

35 files changed

+9
-284
lines changed

AbstractRendererEngine.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,10 @@ abstract class AbstractRendererEngine implements FormRendererEngineInterface
2323
*/
2424
const CACHE_KEY_VAR = 'cache_key';
2525

26-
/**
27-
* @var array
28-
*/
2926
protected $defaultThemes;
30-
31-
/**
32-
* @var array
33-
*/
3427
protected $themes = array();
35-
36-
/**
37-
* @var array
38-
*/
3928
protected $resources = array();
4029

41-
/**
42-
* @var array
43-
*/
4430
private $resourceHierarchyLevels = array();
4531

4632
/**

AbstractTypeExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
5454

5555
/**
5656
* Configures the options for this type.
57-
*
58-
* @param OptionsResolver $resolver The resolver for the options
5957
*/
6058
public function configureOptions(OptionsResolver $resolver)
6159
{

Button.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ public function getPropertyPath()
273273
/**
274274
* Unsupported method.
275275
*
276-
* @param FormError $error
277-
*
278276
* @throws BadMethodCallException
279277
*/
280278
public function addError(FormError $error)

ButtonBuilder.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ public function addEventListener($eventName, $listener, $priority = 0)
184184
*
185185
* This method should not be invoked.
186186
*
187-
* @param EventSubscriberInterface $subscriber
188-
*
189187
* @throws BadMethodCallException
190188
*/
191189
public function addEventSubscriber(EventSubscriberInterface $subscriber)
@@ -272,8 +270,6 @@ public function setAttributes(array $attributes)
272270
*
273271
* This method should not be invoked.
274272
*
275-
* @param DataMapperInterface $dataMapper
276-
*
277273
* @throws BadMethodCallException
278274
*/
279275
public function setDataMapper(DataMapperInterface $dataMapper = null)
@@ -413,8 +409,6 @@ public function setCompound($compound)
413409
/**
414410
* Sets the type of the button.
415411
*
416-
* @param ResolvedFormTypeInterface $type The type of the button
417-
*
418412
* @return $this
419413
*/
420414
public function setType(ResolvedFormTypeInterface $type)
@@ -457,8 +451,6 @@ public function setDataLocked($locked)
457451
*
458452
* This method should not be invoked.
459453
*
460-
* @param FormFactoryInterface $formFactory
461-
*
462454
* @throws BadMethodCallException
463455
*/
464456
public function setFormFactory(FormFactoryInterface $formFactory)
@@ -493,8 +485,6 @@ public function setMethod($method)
493485
/**
494486
* Unsupported method.
495487
*
496-
* @param RequestHandlerInterface $requestHandler
497-
*
498488
* @throws BadMethodCallException
499489
*/
500490
public function setRequestHandler(RequestHandlerInterface $requestHandler)

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
*/
2323
class CachingFactoryDecorator implements ChoiceListFactoryInterface
2424
{
25-
/**
26-
* @var ChoiceListFactoryInterface
27-
*/
2825
private $decoratedFactory;
2926

3027
/**
@@ -89,11 +86,6 @@ private static function flatten(array $array, &$output)
8986
}
9087
}
9188

92-
/**
93-
* Decorates the given factory.
94-
*
95-
* @param ChoiceListFactoryInterface $decoratedFactory The decorated factory
96-
*/
9789
public function __construct(ChoiceListFactoryInterface $decoratedFactory)
9890
{
9991
$this->decoratedFactory = $decoratedFactory;

ChoiceList/Factory/PropertyAccessDecorator.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,9 @@
4141
*/
4242
class PropertyAccessDecorator implements ChoiceListFactoryInterface
4343
{
44-
/**
45-
* @var ChoiceListFactoryInterface
46-
*/
4744
private $decoratedFactory;
48-
49-
/**
50-
* @var PropertyAccessorInterface
51-
*/
5245
private $propertyAccessor;
5346

54-
/**
55-
* Decorates the given factory.
56-
*
57-
* @param ChoiceListFactoryInterface $decoratedFactory The decorated factory
58-
* @param null|PropertyAccessorInterface $propertyAccessor The used property accessor
59-
*/
6047
public function __construct(ChoiceListFactoryInterface $decoratedFactory, PropertyAccessorInterface $propertyAccessor = null)
6148
{
6249
$this->decoratedFactory = $decoratedFactory;

ChoiceList/View/ChoiceView.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ class ChoiceView extends LegacyChoiceView
7070
{
7171
/**
7272
* Additional attributes for the HTML tag.
73-
*
74-
* @var array
7573
*/
7674
public $attr;
7775

Extension/Core/ChoiceList/ChoiceList.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,23 @@ class ChoiceList implements ChoiceListInterface
4343
{
4444
/**
4545
* The choices with their indices as keys.
46-
*
47-
* @var array
4846
*/
4947
protected $choices = array();
5048

5149
/**
5250
* The choice values with the indices of the matching choices as keys.
53-
*
54-
* @var array
5551
*/
5652
protected $values = array();
5753

5854
/**
5955
* The preferred view objects as hierarchy containing also the choice groups
6056
* with the indices of the matching choices as bottom-level keys.
61-
*
62-
* @var array
6357
*/
6458
private $preferredViews = array();
6559

6660
/**
6761
* The non-preferred view objects as hierarchy containing also the choice
6862
* groups with the indices of the matching choices as bottom-level keys.
69-
*
70-
* @var array
7163
*/
7264
private $remainingViews = array();
7365

Extension/Core/DataMapper/PropertyPathMapper.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,8 @@
2323
*/
2424
class PropertyPathMapper implements DataMapperInterface
2525
{
26-
/**
27-
* @var PropertyAccessorInterface
28-
*/
2926
private $propertyAccessor;
3027

31-
/**
32-
* Creates a new property path mapper.
33-
*
34-
* @param PropertyAccessorInterface $propertyAccessor The property accessor
35-
*/
3628
public function __construct(PropertyAccessorInterface $propertyAccessor = null)
3729
{
3830
$this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();

Extension/Core/DataTransformer/ChoiceToValueTransformer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ class ChoiceToValueTransformer implements DataTransformerInterface
2222
{
2323
private $choiceList;
2424

25-
/**
26-
* @param ChoiceListInterface $choiceList
27-
*/
2825
public function __construct(ChoiceListInterface $choiceList)
2926
{
3027
$this->choiceList = $choiceList;

0 commit comments

Comments
 (0)