diff --git a/lib/Doctrine/Collection.php b/lib/Doctrine/Collection.php index 25b7ca441..7b3c60104 100644 --- a/lib/Doctrine/Collection.php +++ b/lib/Doctrine/Collection.php @@ -811,12 +811,11 @@ public function toHierarchy() /** * Populate a Doctrine_Collection from an array of data * - * @param string $array + * @param array $array * @return void */ public function fromArray($array, $deep = true) { - $data = array(); foreach ($array as $rowKey => $row) { $this[$rowKey]->fromArray($row, $deep); }