src/Parser/SoapClient/Structs.php
protected static function cleanType($type)
    {
        $type = str_replace([
            "\r",
            "\n",
            "\t",
            '{',
            '}',
            '[',
            ']',
            ';',
        ], '', $type);
        $type = preg_replace('/[\s]+/', ' ', $type);
        return trim($type);
    }
protected static function cleanType($type)
    {
        $type = str_replace([
            "\r",
            "\n",
            "\t",
            '{',
            '}',
            '[',
            ']',
            ';',
        ], '', $type);
        $type = preg_replace('/[\s]+/', ' ', $type);
        return trim($type);
    }
protected static function cleanType ( $ type ) { $ type = str_replace ( [ "\r" , "\n" , "\t" , '{' , '}' , '[' , ']' , ';' , ] , '' , $ type ) ; $ type = preg_replace ( '/[\s]+/' , ' ' , $ type ) ; return trim ( $ type ) ; }
Remove useless break line, tabs
Remove curly braces
Remove brackets
Adds space before semicolon to parse it
Remove duplicated spaces
@param string $type
@return string
Remove useless break line tabs Remove curly braces Remove brackets Adds space before semicolon to parse it Remove duplicated spaces