Skip to content

Commit ef8babf

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: [CS] Apply phpdoc_annotation_without_dot
2 parents 36f2059 + 228fb68 commit ef8babf

29 files changed

+100
-101
lines changed

AbstractRendererEngine.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ abstract protected function loadResourceForBlockName($cacheKey, FormView $view,
139139
*
140140
* @see getResourceForBlockHierarchy()
141141
*
142-
* @param string $cacheKey The cache key used for storing the
143-
* resource.
144-
* @param FormView $view The form view for finding the applying
145-
* themes.
146-
* @param array $blockNameHierarchy The block hierarchy, with the most
147-
* specific block name at the end.
148-
* @param int $hierarchyLevel The level in the block hierarchy that
149-
* should be loaded.
142+
* @param string $cacheKey the cache key used for storing the
143+
* resource
144+
* @param FormView $view the form view for finding the applying
145+
* themes
146+
* @param array $blockNameHierarchy the block hierarchy, with the most
147+
* specific block name at the end
148+
* @param int $hierarchyLevel the level in the block hierarchy that
149+
* should be loaded
150150
*
151151
* @return bool True if the resource could be loaded, false otherwise
152152
*/

Button.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public function handleRequest($request = null)
371371
*
372372
* @return $this
373373
*
374-
* @throws Exception\AlreadySubmittedException If the button has already been submitted.
374+
* @throws Exception\AlreadySubmittedException if the button has already been submitted
375375
*/
376376
public function submit($submittedData, $clearMissing = true)
377377
{

ButtonBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
5858
* @param string $name The name of the button
5959
* @param array $options The button's options
6060
*
61-
* @throws InvalidArgumentException If the name is empty.
61+
* @throws InvalidArgumentException if the name is empty
6262
*/
6363
public function __construct($name, array $options = array())
6464
{

ChoiceList/ArrayChoiceList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ protected function flatten(array $choices, $value, &$choicesByValues, &$keysByVa
216216
* @param array $choices The choices
217217
* @param array|null $cache The cache for previously checked entries. Internal
218218
*
219-
* @return bool Returns true if the choices can be cast to strings and
220-
* false otherwise.
219+
* @return bool returns true if the choices can be cast to strings and
220+
* false otherwise
221221
*/
222222
private function castableToString(array $choices, array &$cache = array())
223223
{

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CachingFactoryDecorator implements ChoiceListFactoryInterface
4848
*
4949
* @return string The SHA-256 hash
5050
*
51-
* @internal Should not be used by user-land code.
51+
* @internal should not be used by user-land code
5252
*/
5353
public static function generateHash($value, $namespace = '')
5454
{

ChoiceList/View/ChoiceGroupView.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class ChoiceGroupView implements \IteratorAggregate
3636
* Creates a new choice group view.
3737
*
3838
* @param string $label The label of the group
39-
* @param ChoiceGroupView[]|ChoiceView[] $choices The choice views in the
40-
* group.
39+
* @param ChoiceGroupView[]|ChoiceView[] $choices the choice views in the
40+
* group
4141
*/
4242
public function __construct($label, array $choices = array())
4343
{

ChoiceList/View/ChoiceListView.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class ChoiceListView
4040
* Creates a new choice list view.
4141
*
4242
* @param ChoiceGroupView[]|ChoiceView[] $choices The choice views
43-
* @param ChoiceGroupView[]|ChoiceView[] $preferredChoices The preferred
44-
* choice views.
43+
* @param ChoiceGroupView[]|ChoiceView[] $preferredChoices the preferred
44+
* choice views
4545
*/
4646
public function __construct(array $choices = array(), array $preferredChoices = array())
4747
{

DataMapperInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface DataMapperInterface
2222
* @param mixed $data Structured data
2323
* @param FormInterface[]|\Traversable $forms A list of {@link FormInterface} instances
2424
*
25-
* @throws Exception\UnexpectedTypeException if the type of the data parameter is not supported.
25+
* @throws Exception\UnexpectedTypeException if the type of the data parameter is not supported
2626
*/
2727
public function mapDataToForms($data, $forms);
2828

@@ -32,7 +32,7 @@ public function mapDataToForms($data, $forms);
3232
* @param FormInterface[]|\Traversable $forms A list of {@link FormInterface} instances
3333
* @param mixed $data Structured data
3434
*
35-
* @throws Exception\UnexpectedTypeException if the type of the data parameter is not supported.
35+
* @throws Exception\UnexpectedTypeException if the type of the data parameter is not supported
3636
*/
3737
public function mapFormsToData($forms, &$data);
3838
}

DataTransformerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ interface DataTransformerInterface
4545
*
4646
* @return mixed The value in the transformed representation
4747
*
48-
* @throws TransformationFailedException When the transformation fails.
48+
* @throws TransformationFailedException when the transformation fails
4949
*/
5050
public function transform($value);
5151

@@ -71,7 +71,7 @@ public function transform($value);
7171
*
7272
* @return mixed The value in the original representation
7373
*
74-
* @throws TransformationFailedException When the transformation fails.
74+
* @throws TransformationFailedException when the transformation fails
7575
*/
7676
public function reverseTransform($value);
7777
}

Extension/Core/DataTransformer/BooleanToStringTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct($trueValue)
4646
*
4747
* @return string String value
4848
*
49-
* @throws TransformationFailedException If the given value is not a Boolean.
49+
* @throws TransformationFailedException if the given value is not a Boolean
5050
*/
5151
public function transform($value)
5252
{
@@ -68,7 +68,7 @@ public function transform($value)
6868
*
6969
* @return bool Boolean value
7070
*
71-
* @throws TransformationFailedException If the given value is not a string.
71+
* @throws TransformationFailedException if the given value is not a string
7272
*/
7373
public function reverseTransform($value)
7474
{

0 commit comments

Comments
 (0)