Skip to content

Commit

Permalink
Fix hydrateCollection method
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Aug 16, 2014
1 parent ce92e77 commit b698b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected function hydrateCollection($apiResult, $hydrator, $instance)
$result = array();

foreach ($apiResult as $row) {
$result[] = $hydrator->hydrate($instance, $result);
$result[] = $hydrator->hydrate($instance, $row);
}

return $result;
Expand Down

0 comments on commit b698b59

Please sign in to comment.