瀏覽代碼

ZF-8492: Adding $clearAll as a parameter for Zend_Gdata_HttpClient::resetParameters().

This should fix the following error:

PHP Strict Standards:  Declaration of Zend_Gdata_HttpClient::resetParameters() should be compatible with that of Zend_Http_Client::resetParameters()

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19509 44c647ce-9c0f-0410-b52a-842ac1e357ba
tjohns 16 年之前
父節點
當前提交
37968397af
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      library/Zend/Gdata/HttpClient.php

+ 2 - 2
library/Zend/Gdata/HttpClient.php

@@ -325,11 +325,11 @@ class Zend_Gdata_HttpClient extends Zend_Http_Client
      *
      * @return Zend_Http_Client
      */
-    public function resetParameters()
+    public function resetParameters($clearAll = false)
     {
         $this->_streamingRequest = false;
 
-        return parent::resetParameters();
+        return parent::resetParameters($clearAll);
     }
 
     /**