WP_CLI\DocParser::remove_decorations PHP Method

remove_decorations() private static method

Remove unused cruft from PHPdoc comment.
private static remove_decorations ( string $comment ) : string
$comment string PHPdoc comment.
return string
    private static function remove_decorations($comment)
    {
        $comment = preg_replace('|^/\\*\\*[\\r\\n]+|', '', $comment);
        $comment = preg_replace('|\\n[\\t ]*\\*/$|', '', $comment);
        $comment = preg_replace('|^[\\t ]*\\* ?|m', '', $comment);
        return $comment;
    }