Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Jul 21, 2024
1 parent e9480d3 commit c438fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Role extends Model

public function users(): \Staudenmeir\EloquentJsonRelations\Relations\HasManyJson
{
return $this->hasManyJson(User::class, 'options->role_ids');
return $this->hasManyJson(User::class, 'options->role_ids');
}
}
```
Expand Down Expand Up @@ -200,7 +200,7 @@ class Role extends Model

public function users(): \Staudenmeir\EloquentJsonRelations\Relations\HasManyJson
{
return $this->hasManyJson(User::class, 'options->roles[]->role_id');
return $this->hasManyJson(User::class, 'options->roles[]->role_id');
}
}
```
Expand Down

0 comments on commit c438fea

Please sign in to comment.