Просмотр исходного кода

Zend_Soap: update for [ZF-9780] fix.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22861 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 15 лет назад
Родитель
Сommit
5d57d27308
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      library/Zend/Soap/AutoDiscover.php

+ 3 - 0
library/Zend/Soap/AutoDiscover.php

@@ -335,6 +335,7 @@ class Zend_Soap_AutoDiscover implements Zend_Server_Interface
      *
      * @param string $function Function Name
      * @param string $namespace Function namespace - Not Used
+     * @return Zend_Soap_AutoDiscover
      */
     public function addFunction($function, $namespace = '')
     {
@@ -370,6 +371,8 @@ class Zend_Soap_AutoDiscover implements Zend_Server_Interface
             $this->_addFunctionToWsdl($method, $wsdl, $port, $binding);
         }
         $this->_wsdl = $wsdl;
+
+        return $this;
     }
 
     /**