private function seekToNextRelevantToken(Iterator $tokenIterator): void
    {
        for (; $tokenIterator->valid(); $tokenIterator->next()) {
            $token = $tokenIterator->current();

            if ($token[0] !== \T_WHITESPACE) {
                break;
            }
        }
    }
private function seekToNextRelevantToken(Iterator $tokenIterator): void
    {
        for (; $tokenIterator->valid(); $tokenIterator->next()) {
            $token = $tokenIterator->current();

            if ($token[0] !== \T_WHITESPACE) {
                break;
            }
        }
    }
private function seekToNextRelevantToken ( Iterator $ tokenIterator ) : void { for ( ; $ tokenIterator -> valid ( ) ; $ tokenIterator -> next ( ) ) { $ token = $ tokenIterator -> current ( ) ; if ( $ token [ 0 ] !== \ T_WHITESPACE ) { break ; } } }
Seeks to a non-whitespace token.

@param \Iterator $tokenIterator

@return void
Seeks to a non - whitespace token .