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

Completed
Push — master ( 878613...5184b8 )
by Mark
03:54
created

Agent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A page() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Marky
5
 * Date: 05/09/2017
6
 * Time: 07:00
7
 */
8
9
namespace App\Model;
10
11
use Carbon\Carbon;
12
use Illuminate\Database\Eloquent\Model as EloquentModel;
13
14
/**
15
 * @property integer $id
16
 * @property string $ip_address
17
 * @property string $browser
18
 * @property int $page_visited
19
 *
20
 * @property Page $page
21
 * @property Carbon $created_at
22
 * @property Carbon $updated_at
23
 *
24
 * Class Request
25
 */
26
class Agent extends EloquentModel
27
{
28
    /**
29
     * The table associated with the model.
30
     *
31
     * @var string
32
     */
33
    protected $table = 'agents';
34
35
    /**
36
     * @return Page|\Illuminate\Database\Eloquent\Relations\BelongsTo
37
     */
38
    public function page()
39
    {
40
        return $this->belongsTo(Page::class, 'page_visited', 'id');
41
    }
42
}