diff --git a/src/ResultSet/HydratingResultSet.php b/src/ResultSet/HydratingResultSet.php index 550553bffa..b927fc9f72 100644 --- a/src/ResultSet/HydratingResultSet.php +++ b/src/ResultSet/HydratingResultSet.php @@ -119,7 +119,7 @@ public function toArray() { $return = []; foreach ($this as $row) { - $return[] = $this->getHydrator()->extract($row); + $return[] = $this->hydrator->extract($row); } return $return; }