Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Invite   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A user() 0 4 1
1
<?php
2
3
namespace DoeSangue\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class Invite extends Model
8
{
9
    protected $table = 'invites';
10
11
    protected $filliable = [ 'invite_code', 'user_id' ];
12
13
    protected $hidden = [ 'user_id', 'created_at', 'updated_at' ];
14
15
    protected $dates = [ 'created_at', 'updated_at' ];
16
17
    public function user()
18
    {
19
        return $this->belongsTo(User::class);
20
    }
21
}
22