Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
47 | public static function DaftSortableObjectProperties() : array |
||
48 | { |
||
49 | if ( ! is_a(static::class, DaftSortableObject::class, true)) { |
||
50 | throw new ClassDoesNotImplementClassException( |
||
51 | static::class, |
||
52 | DaftSortableObject::class |
||
53 | ); |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @var array<int, string> |
||
58 | */ |
||
59 | $out = (array) constant(static::class . '::SORTABLE_PROPERTIES'); |
||
60 | |||
61 | return $out; |
||
62 | } |
||
64 |