public static function getOrderByParts(OrderBy $orderBy): array
    {
        @trigger_error(sprintf('The use of "%s::getOrderByParts()" is deprecated since 2.3 and will be removed in 3.0. Use "%s::getParts()" directly instead.', __CLASS__, OrderBy::class), E_USER_DEPRECATED);

        return $orderBy->getParts();
    }