Issues (4)

app/User.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App;
6
7
use Illuminate\Auth\Authenticatable;
8
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
9
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
10
use Illuminate\Database\Eloquent\Model;
11
use Laravel\Lumen\Auth\Authorizable;
12
13
class User extends Model implements AuthenticatableContract, AuthorizableContract
14
{
15
    use Authenticatable;
0 ignored issues
show
The trait Illuminate\Auth\Authenticatable requires the property $password which is not provided by App\User.
Loading history...
16
    use Authorizable;
17
18
    /**
19
     * The attributes that are mass assignable.
20
     *
21
     * @var array
22
     */
23
    protected $fillable = [
24
        'name', 'email',
25
    ];
26
27
    /**
28
     * The attributes excluded from the model's JSON form.
29
     *
30
     * @var array
31
     */
32
    protected $hidden = [
33
        'password',
34
    ];
35
}
36