Skip to content

Commit

Permalink
fix types typo
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Oct 23, 2023
1 parent 3a3d741 commit 8e9fc9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PropertiesMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function get(): array
*
* @param class-string<\Illuminate\Database\Eloquent\Model> $model
*/
protected function getModelInstance(string|array $model, mixed $id, string $usingAttribute = null, array $with = [])
protected function getModelInstance(string $model, mixed $id, string $usingAttribute = null, array $with = [])
{
if (is_a($id, $model)) {
return empty($with) ? $id : $id->loadMissing($with);
Expand Down

0 comments on commit 8e9fc9d

Please sign in to comment.