Passed
Push — master ( 0e85a7...3ec6ca )
by Gabriel
02:46
created

RecordsTrait::getStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
ccs 2
cts 2
cp 1
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace ByTIC\Models\SmartProperties\RecordsTraits\HasStatus;
4
5
use ByTIC\Models\SmartProperties\Properties\Statuses\Generic as GenericStatus;
6
use Exception;
7
8
/**
9
 * Class RecordsTrait
10
 * @package ByTIC\Models\SmartProperties\RecordsTraits\HasStatus
11
 */
12
trait RecordsTrait
13
{
14
    use \ByTIC\Models\SmartProperties\RecordsTraits\AbstractTrait\RecordsTrait;
15
    use \ByTIC\Models\SmartProperties\RecordsTraits\HasSmartProperties\RecordsTrait;
16
    use PropertyRecordsTrait;
17
18
    protected function registerSmartProperties()
19
    {
20
        $this->registerSmartPropertyStatus();
21 1
    }
22
}
23