public function setType($type)
    {
        if (!is_string($type) && (null !== $type)) {
            require_once 'Zend/Server/Reflection/Exception.php';
            throw new Zend_Server_Reflection_Exception('Invalid parameter type');
        }

        $this->_type = $type;
    }
public function setType($type)
    {
        if (!is_string($type) && (null !== $type)) {
            require_once 'Zend/Server/Reflection/Exception.php';
            throw new Zend_Server_Reflection_Exception('Invalid parameter type');
        }

        $this->_type = $type;
    }
public function setType ( $ type ) { if ( ! is_string ( $ type ) && ( null !== $ type ) ) { require_once 'Zend/Server/Reflection/Exception.php' ; throw new Zend_Server_Reflection_Exception ( 'Invalid parameter type' ) ; } $ this -> _type = $ type ; }
Set parameter type

@param string|null $type
@return void
Set parameter type