PhpCsFixer\Fixer\Phpdoc\PhpdocVarWithoutNameFixer::fixLine PHP Method

fixLine() private method

private fixLine ( PhpCsFixer\DocBlock\Line $line )
$line PhpCsFixer\DocBlock\Line
    private function fixLine(Line $line)
    {
        $content = $line->getContent();
        preg_match_all('/ \\$[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/', $content, $matches);
        if (isset($matches[0][0])) {
            $line->setContent(str_replace($matches[0][0], '', $content));
        }
    }