Browse Source

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 năm trước cách đây
mục cha
commit
37968397af
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
      * @return Zend_Http_Client
      */
      */
-    public function resetParameters()
+    public function resetParameters($clearAll = false)
     {
     {
         $this->_streamingRequest = false;
         $this->_streamingRequest = false;
 
 
-        return parent::resetParameters();
+        return parent::resetParameters($clearAll);
     }
     }
 
 
     /**
     /**