We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4593586 commit ba6f5d1Copy full SHA for ba6f5d1
Form/DataTransformer/CollectionToArrayTransformer.php
@@ -24,8 +24,6 @@ class CollectionToArrayTransformer implements DataTransformerInterface
24
/**
25
* Transforms a collection into an array.
26
*
27
- * @return mixed An array of entities
28
- *
29
* @throws TransformationFailedException
30
*/
31
public function transform($collection)
@@ -48,11 +46,9 @@ public function transform($collection)
48
46
}
49
47
50
51
- * Transforms choice keys into entities.
52
53
- * @param mixed $array An array of entities
+ * Transforms an array into a collection.
54
55
- * @return Collection A collection of entities
+ * @return Collection
56
57
public function reverseTransform($array)
58
{
0 commit comments