src/Blocks/Lists/Tree/Builder.php
protected function getLength($lineContent)
    {
        preg_match('/\\S/', $lineContent, $spacesFound, PREG_OFFSET_CAPTURE);
        $length = max(1, $spacesFound[0][1]);

        return $length;
    }
protected function getLength($lineContent)
    {
        preg_match('/\\S/', $lineContent, $spacesFound, PREG_OFFSET_CAPTURE);
        $length = max(1, $spacesFound[0][1]);

        return $length;
    }
@param string $lineContent

@return int