Skip to content

Commit 94ef97e

Browse files
author
Jeremy Sik
committed
Merge pull request #58 from spira/hotfix/index-model-update
Updating model types.
2 parents f2eece3 + 3a7acfe commit 94ef97e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Model/Model/IndexedModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ public function getIndexDocumentData()
150150
/**
151151
* Get all attributes of a model including pivot.
152152
*
153-
* @param Model $model
153+
* @param BaseModel $model
154154
* @return array
155155
*/
156-
private function getModelAttributes(Model $model)
156+
private function getModelAttributes(BaseModel $model)
157157
{
158158
$attributes = $model->attributesToArray();
159159

0 commit comments

Comments
 (0)