From 5d3ac6876019b88895bee86a77052c4503fd248d Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 13 Mar 2018 09:08:58 +0700 Subject: [PATCH] use direct "hydrator" property instead of "getHydrator()" at HydratingResultSet --- src/ResultSet/HydratingResultSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }