private function handleChildrenGroup(Lexer $lexer, int $useragentPosition) : int
    {
        $childPosition = 0;

        do {
            $code = $lexer->lex();

            if (self::JSON_OBJECT_START === $code) {
                $code = $this->handleChildBlock($lexer, $useragentPosition, $childPosition);
                ++$childPosition;
            }
        } while (self::JSON_ARRAY_END !== $code);

        return $lexer->lex();
    }
private function handleChildrenGroup(Lexer $lexer, int $useragentPosition) : int
    {
        $childPosition = 0;

        do {
            $code = $lexer->lex();

            if (self::JSON_OBJECT_START === $code) {
                $code = $this->handleChildBlock($lexer, $useragentPosition, $childPosition);
                ++$childPosition;
            }
        } while (self::JSON_ARRAY_END !== $code);

        return $lexer->lex();
    }
private function handleChildrenGroup ( Lexer $ lexer , int $ useragentPosition ) : int { $ childPosition = 0 ; do { $ code = $ lexer -> lex ( ) ; if ( self :: JSON_OBJECT_START === $ code ) { $ code = $ this -> handleChildBlock ( $ lexer , $ useragentPosition , $ childPosition ) ; ++ $ childPosition ; } } while ( self :: JSON_ARRAY_END !== $ code ) ; return $ lexer -> lex ( ) ; }
Processes the children array of a userAgent object

@param Lexer $lexer
@param int   $useragentPosition

@return int
Processes the children array of a userAgent object