Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,8 @@ public function toJson()

if ($currentItems instanceof DbAbstractRowset) {
return Json::encode($currentItems->toArray());
} else {
return Json::encode($currentItems);
}
return Json::encode($currentItems);
}

/**
Expand Down

0 comments on commit 41b2dc0

Please sign in to comment.