GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

UserRole
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 6
c 1
b 0
f 0
dl 0
loc 26
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace BristolSU\ControlDB\Models\Pivots;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Illuminate\Database\Eloquent\SoftDeletes;
7
8
/**
9
 * Handles the linking between user and role
10
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
11
class UserRole extends Model
12
{
13
    use SoftDeletes;
14
15
    /**
16
     * Fillable attributes
17
     * 
18
     * @var array 
19
     */
20
    protected $fillable = [
21
        'user_id', 'role_id'
22
    ];
23
    
24
    /**
25
     * Indicates if the IDs are auto-incrementing.
26
     *
27
     * @var bool
28
     */
29
    public $incrementing = true;
30
31
    /**
32
     * Define the table to use
33
     * 
34
     * @var string 
35
     */
36
    public $table = 'control_role_user';
37
    
38
}