'ASC']): array { if (!$element instanceof Device) { throw new \InvalidArgumentException('$element must be an Device!'); } //TODO: Change this later, when properly implemented devices return []; } public function getPartsCount(object $element): int { if (!$element instanceof Device) { throw new \InvalidArgumentException('$element must be an Device!'); } //TODO: Change this later, when properly implemented devices //Prevent user from deleting devices, to not accidentally remove filled devices from old versions return 1; } }