public function toPhpSupportedScalar(string $type): string
    {
        if ($this->isPhpScalarType($type)) {
            return $type;
        }

        if ($type === 'short') {
            return 'float';
        }
        if ($type === 'double') {
            return 'float';
        }
        if ($type === 'boolean') {
            return 'bool';
        }

        return $type;
    }
public function toPhpSupportedScalar(string $type): string
    {
        if ($this->isPhpScalarType($type)) {
            return $type;
        }

        if ($type === 'short') {
            return 'float';
        }
        if ($type === 'double') {
            return 'float';
        }
        if ($type === 'boolean') {
            return 'bool';
        }

        return $type;
    }
public function toPhpSupportedScalar ( string $ type ) : string { if ( $ this -> isPhpScalarType ( $ type ) ) { return $ type ; } if ( $ type === 'short' ) { return 'float' ; } if ( $ type === 'double' ) { return 'float' ; } if ( $ type === 'boolean' ) { return 'bool' ; } return $ type ; }
SOAP specification support scalar types that aren't supported or written differently by PHP
@param string $type
@return string
SOAP specification support scalar types that aren t supported or written differently by PHP