Test Failed
Push — main ( c76fcf...a2096a )
by Bingo
14:02
created

HistoricActivityStatisticsQueryProperty   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

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