Skip to content

Commit

Permalink
unused local variable and fixed wrong type of the parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
miamibc committed Feb 5, 2024
1 parent 7327db8 commit 8ab3d2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Doctrine/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8ab3d2b

Please sign in to comment.