Skip to content

Commit

Permalink
Merge pull request #360 from marlon-david/patch-1
Browse files Browse the repository at this point in the history
Model::find(): Missing returnType when using array as parameter
  • Loading branch information
lonnieezell authored Jan 9, 2017
2 parents b494a6d + 820865f commit 064cc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function find($id)
{
$row = $builder->whereIn($this->primaryKey, $id)
->get();
$row = $row->getResult();
$row = $row->getResult($this->tempReturnType);
}
else
{
Expand Down

0 comments on commit 064cc20

Please sign in to comment.