Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function getParts(object $element, array $order_by = ['name' => 'ASC']): array |
||
17 | { |
||
18 | if (!$element instanceof Device) { |
||
19 | throw new \InvalidArgumentException('$element must be an Device!'); |
||
20 | } |
||
21 | |||
22 | |||
23 | //TODO: Change this later, when properly implemented devices |
||
24 | return []; |
||
25 | } |
||
37 | } |