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::page()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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