diff --git a/lib/Doctrine/Collection.php b/lib/Doctrine/Collection.php index ce895153..7b3c6010 100644 --- a/lib/Doctrine/Collection.php +++ b/lib/Doctrine/Collection.php @@ -816,7 +816,6 @@ public function toHierarchy() */ public function fromArray($array, $deep = true) { - $data = array(); foreach ($array as $rowKey => $row) { $this[$rowKey]->fromArray($row, $deep); }