Skip to content

Commit ba6f5d1

Browse files
Xesaunicolas-grekas
authored andcommitted
Add approriate description to CollectionToArrayTransformer::reverseTransform docblock
1 parent 4593586 commit ba6f5d1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Form/DataTransformer/CollectionToArrayTransformer.php

Lines changed: 2 additions & 6 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-
* @return mixed An array of entities
28-
*
2927
* @throws TransformationFailedException
3028
*/
3129
public function transform($collection)
@@ -48,11 +46,9 @@ public function transform($collection)
4846
}
4947

5048
/**
51-
* Transforms choice keys into entities.
52-
*
53-
* @param mixed $array An array of entities
49+
* Transforms an array into a collection.
5450
*
55-
* @return Collection A collection of entities
51+
* @return Collection
5652
*/
5753
public function reverseTransform($array)
5854
{

0 commit comments

Comments
 (0)