Skip to content

Commit 84f093b

Browse files
authored
Update README.md
1 parent 3459695 commit 84f093b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function role(): BelongsTo {
6363
// app/Models/Role.php
6464
// columns: id, name
6565

66-
public function roles(): HasMany {
66+
public function users(): HasMany {
6767
return $this->hasMany(User::class);
6868
}
6969
```

0 commit comments

Comments
 (0)