Skip to content

Commit 4b7aa22

Browse files
Merge branch '2.8' into 3.3
* 2.8: [DI] minor docblock fixes
2 parents c75c4de + 220e64f commit 4b7aa22

32 files changed

+9
-269
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
/**

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)
@@ -396,8 +392,6 @@ public function setCompound($compound)
396392
/**
397393
* Sets the type of the button.
398394
*
399-
* @param ResolvedFormTypeInterface $type The type of the button
400-
*
401395
* @return $this
402396
*/
403397
public function setType(ResolvedFormTypeInterface $type)
@@ -440,8 +434,6 @@ public function setDataLocked($locked)
440434
*
441435
* This method should not be invoked.
442436
*
443-
* @param FormFactoryInterface $formFactory
444-
*
445437
* @throws BadMethodCallException
446438
*/
447439
public function setFormFactory(FormFactoryInterface $formFactory)
@@ -476,8 +468,6 @@ public function setMethod($method)
476468
/**
477469
* Unsupported method.
478470
*
479-
* @param RequestHandlerInterface $requestHandler
480-
*
481471
* @throws BadMethodCallException
482472
*/
483473
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
@@ -41,8 +41,6 @@ class ChoiceView
4141

4242
/**
4343
* Additional attributes for the HTML tag.
44-
*
45-
* @var array
4644
*/
4745
public $attr;
4846

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;

Extension/Core/DataTransformer/ChoicesToValuesTransformer.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,12 @@ class ChoicesToValuesTransformer implements DataTransformerInterface
2222
{
2323
private $choiceList;
2424

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

3330
/**
34-
* @param array $array
35-
*
3631
* @return array
3732
*
3833
* @throws TransformationFailedException if the given value is not an array
@@ -51,8 +46,6 @@ public function transform($array)
5146
}
5247

5348
/**
54-
* @param array $array
55-
*
5649
* @return array
5750
*
5851
* @throws TransformationFailedException if the given value is not an array

Extension/Core/DataTransformer/DataTransformerChain.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,12 @@
2121
*/
2222
class DataTransformerChain implements DataTransformerInterface
2323
{
24-
/**
25-
* The value transformers.
26-
*
27-
* @var DataTransformerInterface[]
28-
*/
2924
protected $transformers;
3025

3126
/**
3227
* Uses the given value transformers to transform values.
3328
*
34-
* @param array $transformers
29+
* @param DataTransformerInterface[] $transformers
3530
*/
3631
public function __construct(array $transformers)
3732
{

0 commit comments

Comments
 (0)