Skip to content

Commit ff63f6c

Browse files
miamibcthePanz
authored andcommitted
Remove unused variable from Collection::fromArray()
1 parent 1990ab3 commit ff63f6c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Doctrine/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,6 @@ public function toHierarchy()
816816
*/
817817
public function fromArray($array, $deep = true)
818818
{
819-
$data = array();
820819
foreach ($array as $rowKey => $row) {
821820
$this[$rowKey]->fromArray($row, $deep);
822821
}

0 commit comments

Comments
 (0)