AbstractStatus   A
last analyzed

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
 * Class AbstractStatus
11
 * @package Galantom\Common\Models\Transactions\Statuses
12
 *
13
 * @method Record|IsPurchasableModelTrait getItem()
14
 */
15
abstract class AbstractStatus extends Generic
16
{
17
    /**
18
     * @return bool
19
     */
20
    public function needsAssessment()
21
    {
22
        return true;
23
    }
24
}
25