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

Test Failed
Push — development ( a51bef...1aad8e )
by José
08:14
created

Invite::user()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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