Skip to content

Commit e75f48a

Browse files
Remove useless docblocks
1 parent 33e9eec commit e75f48a

Some content is hidden

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

49 files changed

+67
-325
lines changed

AbstractRendererEngine.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ abstract protected function loadResourceForBlockName($cacheKey, FormView $view,
125125
*
126126
* @see getResourceForBlockHierarchy()
127127
*
128-
* @param string $cacheKey the cache key used for storing the
128+
* @param string $cacheKey The cache key used for storing the
129129
* resource
130-
* @param FormView $view the form view for finding the applying
130+
* @param FormView $view The form view for finding the applying
131131
* themes
132-
* @param array $blockNameHierarchy the block hierarchy, with the most
132+
* @param array $blockNameHierarchy The block hierarchy, with the most
133133
* specific block name at the end
134-
* @param int $hierarchyLevel the level in the block hierarchy that
134+
* @param int $hierarchyLevel The level in the block hierarchy that
135135
* should be loaded
136136
*
137137
* @return bool True if the resource could be loaded, false otherwise

CallbackTransformer.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,7 @@
1616

1717
class CallbackTransformer implements DataTransformerInterface
1818
{
19-
/**
20-
* The callback used for forward transform.
21-
*
22-
* @var callable
23-
*/
2419
private $transform;
25-
26-
/**
27-
* The callback used for reverse transform.
28-
*
29-
* @var callable
30-
*/
3120
private $reverseTransform;
3221

3322
/**

ChoiceList/LazyChoiceList.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
*/
2828
class LazyChoiceList implements ChoiceListInterface
2929
{
30-
/**
31-
* The choice loader.
32-
*
33-
* @var ChoiceLoaderInterface
34-
*/
3530
private $loader;
3631

3732
/**
@@ -56,8 +51,7 @@ class LazyChoiceList implements ChoiceListInterface
5651
* argument.
5752
*
5853
* @param ChoiceLoaderInterface $loader The choice loader
59-
* @param null|callable $value The callable generating the choice
60-
* values
54+
* @param null|callable $value The callable generating the choice values
6155
*/
6256
public function __construct(ChoiceLoaderInterface $loader, $value = null)
6357
{

ChoiceList/View/ChoiceGroupView.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,14 @@
1818
*/
1919
class ChoiceGroupView implements \IteratorAggregate
2020
{
21-
/**
22-
* The label of the group.
23-
*
24-
* @var string
25-
*/
2621
public $label;
27-
28-
/**
29-
* The choice views in the group.
30-
*
31-
* @var ChoiceGroupView[]|ChoiceView[]
32-
*/
3322
public $choices;
3423

3524
/**
3625
* Creates a new choice group view.
3726
*
3827
* @param string $label The label of the group
39-
* @param ChoiceGroupView[]|ChoiceView[] $choices the choice views in the
40-
* group
28+
* @param ChoiceGroupView[]|ChoiceView[] $choices the choice views in the group
4129
*/
4230
public function __construct($label, array $choices = array())
4331
{

ChoiceList/View/ChoiceListView.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,14 @@
2222
*/
2323
class ChoiceListView
2424
{
25-
/**
26-
* The choices.
27-
*
28-
* @var ChoiceGroupView[]|ChoiceView[]
29-
*/
3025
public $choices;
31-
32-
/**
33-
* The preferred choices.
34-
*
35-
* @var ChoiceGroupView[]|ChoiceView[]
36-
*/
3726
public $preferredChoices;
3827

3928
/**
4029
* Creates a new choice list view.
4130
*
4231
* @param ChoiceGroupView[]|ChoiceView[] $choices The choice views
43-
* @param ChoiceGroupView[]|ChoiceView[] $preferredChoices the preferred
44-
* choice views
32+
* @param ChoiceGroupView[]|ChoiceView[] $preferredChoices the preferred choice views
4533
*/
4634
public function __construct(array $choices = array(), array $preferredChoices = array())
4735
{

ChoiceList/View/ChoiceView.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,8 @@
2121
*/
2222
class ChoiceView
2323
{
24-
/**
25-
* The label displayed to humans.
26-
*
27-
* @var string
28-
*/
2924
public $label;
30-
31-
/**
32-
* The view representation of the choice.
33-
*
34-
* @var string
35-
*/
3625
public $value;
37-
38-
/**
39-
* The original choice value.
40-
*
41-
* @var mixed
42-
*/
4326
public $data;
4427

4528
/**

Extension/Core/ChoiceList/ChoiceList.php

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ChoiceList implements ChoiceListInterface
7474
* level of the hierarchy may also be a \Traversable.
7575
* @param array $labels The array of labels. The structure of this array
7676
* should match the structure of $choices.
77-
* @param array $preferredChoices a flat array of choices that should be
77+
* @param array $preferredChoices A flat array of choices that should be
7878
* presented to the user with priority
7979
*
8080
* @throws UnexpectedTypeException if the choices are not an array or \Traversable
@@ -252,10 +252,8 @@ public function getIndicesForValues(array $values)
252252
/**
253253
* Recursively adds the given choices to the list.
254254
*
255-
* @param array $bucketForPreferred the bucket where to store the preferred
256-
* view objects
257-
* @param array $bucketForRemaining the bucket where to store the
258-
* non-preferred view objects
255+
* @param array $bucketForPreferred The bucket where to store the preferred view objects
256+
* @param array $bucketForRemaining The bucket where to store the non-preferred view objects
259257
* @param array|\Traversable $choices The list of choices
260258
* @param array $labels The labels corresponding to the choices
261259
* @param array $preferredChoices The preferred choices
@@ -299,10 +297,8 @@ protected function addChoices(array &$bucketForPreferred, array &$bucketForRemai
299297
* Recursively adds a choice group.
300298
*
301299
* @param string $group The name of the group
302-
* @param array $bucketForPreferred the bucket where to store the preferred
303-
* view objects
304-
* @param array $bucketForRemaining the bucket where to store the
305-
* non-preferred view objects
300+
* @param array $bucketForPreferred The bucket where to store the preferred view objects
301+
* @param array $bucketForRemaining The bucket where to store the non-preferred view objects
306302
* @param array $choices The list of choices in the group
307303
* @param array $labels The labels corresponding to the choices in the group
308304
* @param array $preferredChoices The preferred choices
@@ -336,10 +332,8 @@ protected function addChoiceGroup($group, array &$bucketForPreferred, array &$bu
336332
/**
337333
* Adds a new choice.
338334
*
339-
* @param array $bucketForPreferred the bucket where to store the preferred
340-
* view objects
341-
* @param array $bucketForRemaining the bucket where to store the
342-
* non-preferred view objects
335+
* @param array $bucketForPreferred The bucket where to store the preferred view objects
336+
* @param array $bucketForRemaining The bucket where to store the non-preferred view objects
343337
* @param mixed $choice The choice to add
344338
* @param string $label The label for the choice
345339
* @param array $preferredChoices The preferred choices

Extension/Core/ChoiceList/ObjectChoiceList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ObjectChoiceList extends ChoiceList
8080
* by calling the getter on the object. If the
8181
* path is NULL, the object's __toString() method
8282
* is used instead.
83-
* @param array $preferredChoices a flat array of choices that should be
83+
* @param array $preferredChoices A flat array of choices that should be
8484
* presented to the user with priority
8585
* @param string $groupPath A property path pointing to the property used
8686
* to group the choices. Only allowed if

Extension/Core/ChoiceList/SimpleChoiceList.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class SimpleChoiceList extends ChoiceList
4444
* as hierarchy of unlimited depth by creating nested
4545
* arrays. The title of the sub-hierarchy is stored
4646
* in the array key pointing to the nested array.
47-
* @param array $preferredChoices a flat array of choices that should be
47+
* @param array $preferredChoices A flat array of choices that should be
4848
* presented to the user with priority
4949
*/
5050
public function __construct(array $choices, array $preferredChoices = array())
@@ -83,10 +83,8 @@ public function getValuesForChoices(array $choices)
8383
* Takes care of splitting the single $choices array passed in the
8484
* constructor into choices and labels.
8585
*
86-
* @param array $bucketForPreferred the bucket where to store the preferred
87-
* view objects
88-
* @param array $bucketForRemaining the bucket where to store the
89-
* non-preferred view objects
86+
* @param array $bucketForPreferred The bucket where to store the preferred view objects
87+
* @param array $bucketForRemaining The bucket where to store the non-preferred view objects
9088
* @param array|\Traversable $choices The list of choices
9189
* @param array $labels Ignored
9290
* @param array $preferredChoices The preferred choices

Extension/Core/CoreExtension.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@
2626
*/
2727
class CoreExtension extends AbstractExtension
2828
{
29-
/**
30-
* @var PropertyAccessorInterface
31-
*/
3229
private $propertyAccessor;
33-
34-
/**
35-
* @var ChoiceListFactoryInterface
36-
*/
3730
private $choiceListFactory;
3831

3932
public function __construct(PropertyAccessorInterface $propertyAccessor = null, ChoiceListFactoryInterface $choiceListFactory = null)

0 commit comments

Comments
 (0)