Ver Fonte

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 há 16 anos atrás
pai
commit
37968397af
1 ficheiros alterados com 2 adições e 2 exclusões
  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);
     }
 
     /**