Passed
Push — master ( 9f4745...5dd119 )
by Karel
05:15 queued 10s
created

src/Models/User.php (2 issues)

1
<?php
2
3
namespace Chuckbe\Chuckcms\Models;
4
5
use Illuminate\Notifications\Notifiable;
6
use Illuminate\Foundation\Auth\User as Authenticatable;
7
use Spatie\Permission\Traits\HasRoles;
8
9
/**
10
 * @property string $name
11
 * @property string $email
12
 * @property string $token
13
 */
14
class User extends Authenticatable
15
{
16
    use HasRoles;
0 ignored issues
show
The trait Spatie\Permission\Traits\HasRoles requires some properties which are not provided by Chuckbe\Chuckcms\Models\User: $map, $permissions, $roles, $guard_name
Loading history...
17
    use Notifiable;
0 ignored issues
show
The trait Illuminate\Notifications\Notifiable requires the property $phone_number which is not provided by Chuckbe\Chuckcms\Models\User.
Loading history...
18
19
    /**
20
     * The attributes that are mass assignable.
21
     *
22
     * @var array
23
     */
24
    protected $fillable = [
25
        'name', 'email', 'password', 'active', 'token'
26
    ];
27
28
    /**
29
     * The attributes that should be hidden for arrays.
30
     *
31
     * @var array
32
     */
33
    protected $hidden = [
34
        'password', 'remember_token',
35
    ];
36
}