Skip to content

Commit

Permalink
Remove unused variable from Collection::fromArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
miamibc authored and thePanz committed Feb 9, 2024
1 parent dcb9a7a commit 85d960a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Doctrine/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 85d960a

Please sign in to comment.