Passed
Push — master ( 43186b...d45fb7 )
by Gabriel
14:32
created

AbstractStatus   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A needsAssessment() 0 3 1
1
<?php
2
3
namespace ByTIC\Payments\Models\Transactions\Statuses;
4
5
use ByTIC\Models\SmartProperties\Properties\Statuses\Generic;
6
use ByTIC\Payments\Models\Purchase\Traits\IsPurchasableModelTrait;
7
use Nip\Records\Record;
8
9
10
/**
11
 * Class AbstractStatus
12
 * @package Galantom\Common\Models\Transactions\Statuses
13
 *
14
 * @method Record|IsPurchasableModelTrait getItem()
15
 */
16
abstract class AbstractStatus extends Generic
17
{
18
    /**
19
     * @return bool
20
     */
21
    public function needsAssessment()
22
    {
23
        return true;
24
    }
25
}