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 eeb1777 commit cdf3ce9Copy full SHA for cdf3ce9
lib/Doctrine/Collection.php
@@ -811,12 +811,11 @@ public function toHierarchy()
811
/**
812
* Populate a Doctrine_Collection from an array of data
813
*
814
- * @param string $array
+ * @param array $array
815
* @return void
816
*/
817
public function fromArray($array, $deep = true)
818
{
819
- $data = array();
820
foreach ($array as $rowKey => $row) {
821
$this[$rowKey]->fromArray($row, $deep);
822
}
0 commit comments