Test Failed
Push — main ( 5af89f...c76fcf )
by Bingo
05:51
created

CleanableHistoricInstanceReportProperty   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A finishedAmount() 0 6 2
1
<?php
2
3
namespace Jabe\Engine\Impl;
4
5
use Jabe\Engine\Query\QueryPropertyInterface;
6
7
class CleanableHistoricInstanceReportProperty
8
{
9
    private static $FINISHED_AMOUNT;
10
11
    public function finishedAmount(): QueryPropertyInterface
12
    {
13
        if (self::$FINISHED_AMOUNT == null) {
14
            self::$FINISHED_AMOUNT = new QueryPropertyImpl("FINISHED_");
15
        }
16
        return self::$FINISHED_AMOUNT;
17
    }
18
}
19