Completed
Push — master ( 7187a0...60d66c )
by Mike
02:58
created

Profile   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A author() 0 3 1
1
<?php namespace GeneaLabs\LaravelModelCaching\Tests\Fixtures;
2
3
use GeneaLabs\LaravelModelCaching\CachedModel;
4
use Illuminate\Database\Eloquent\Relations\HasMany;
5
use Illuminate\Database\Eloquent\Relations\BelongsTo;
6
7
class Profile extends CachedModel
8
{
9
    protected $fillable = [
10
        'first_name',
11
        'last_name',
12
    ];
13
14
    public function author() : BelongsTo
15
    {
16
        return $this->belongsTo(Author::class);
17
    }
18
}
19