Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | trait TraitSortableDaftObject |
||
15 | { |
||
16 | /** |
||
17 | * @return scalar|array|object|null |
||
18 | */ |
||
19 | abstract public function __get(string $property); |
||
20 | |||
21 | /** |
||
22 | * @psalm-param T as $otherObject |
||
23 | */ |
||
24 | 4 | public function CompareToDaftSortableObject(DaftSortableObject $otherObject) : int |
|
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return array<int, string> |
||
39 | */ |
||
40 | 16 | public static function DaftSortableObjectProperties() : array |
|
57 |