ZF-2342: setPathDelimiter() should accept arrays of string as per the phpdoc description

Description

The setPathDelimiter() in ZendFramework-1.0.3\library\Zend\Controller\Dispatcher\Abstract.php should accept an array but currently this is not allowed. Need to allow arrays to be passed in as per the comments.

/**
 * Set path delimiter
 *
 * Set the path delimiter to use in controllers. May be a single string or
 * an array of strings.
 *
 * @param string|array $spec
 * @return Zend_Controller_Dispatcher_Abstract
 */
public function setPathDelimiter($spec)
{
    if (!is_string($spec)) {
        require_once 'Zend/Controller/Dispatcher/Exception.php';
        throw new Zend_Controller_Dispatcher_Exception('Invalid path delimiter');
    }
    $this->_pathDelimiter = $spec;

    return $this;
}

Comments

For now, we'll simply modify the phpdoc to reflect actual functionality.

docblock updated in trunk and release-1.0 branch.