Skip to content

Commit fcaf38f

Browse files
authored
use correct mode parent class (#676)
fixes #675
1 parent aa43d35 commit fcaf38f

File tree

1 file changed

+2
-2
lines changed
  • docs/docs/8.x/the-basics/models

1 file changed

+2
-2
lines changed

docs/docs/8.x/the-basics/models/user.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
```php
44
<?php
5-
5+
use Illuminate\Foundation\Auth\User as Authenticatable;
66
use Laratrust\Contracts\LaratrustUser;
77
use Laratrust\Traits\HasRolesAndPermissions;
88

9-
class User extends Model implements LaratrustUser
9+
class User extends Authenticatable implements LaratrustUser
1010
{
1111
use HasRolesAndPermissions; // add this trait to your user model
1212

0 commit comments

Comments
 (0)