src/Viserio/Component/Translation/Extractor/PhpExtractor.php
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