private function isEmptyLine(array $tokensInLine): bool
    {
        if (count($tokensInLine) > 1) {
            return false;
        }

        $firstToken = $tokensInLine[0];
        return $firstToken->getType() === TokenInterface::TYPE_WHITESPACE && $firstToken->getValue() === "\n";
    }