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 authored and thePanz committed Feb 5, 2024
1 parent eeb1777 commit cdf3ce9
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 cdf3ce9

Please sign in to comment.