Issues (5)

app/User.php (1 issue)

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