Failed Conditions
Push — master ( 11c8ec...b620eb )
by Bas
05:48 queued 10s
created

Model::qualifyColumn()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2.032

Importance

Changes 0
Metric Value
cc 2
eloc 4
nc 2
nop 1
dl 0
loc 9
ccs 4
cts 5
cp 0.8
crap 2.032
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace LaravelFreelancerNL\Aranguent\Eloquent;
4
5
use Illuminate\Database\Eloquent\Model as IlluminateModel;
6
use LaravelFreelancerNL\Aranguent\Eloquent\Concerns\IsAranguentModel;
7
8
abstract class Model extends IlluminateModel
9
{
10
    use IsAranguentModel;
11
12
    /**
13
     * The primary key for the model.
14
     *
15
     * @var string
16
     */
17
    protected $primaryKey = '_key';
18
19
    /**
20
     * The primary key type.
21
     *
22
     * @var string
23
     */
24
    protected $keyType = 'string';
25
}
26