diff --git a/src/nusoap.php b/src/nusoap.php index fc141a1..9726945 100755 --- a/src/nusoap.php +++ b/src/nusoap.php @@ -3025,6 +3025,7 @@ function sendRequest($data, $cookies = null) $this->debug('set cURL payload'); return true; } + return false; } /** @@ -5342,6 +5343,7 @@ function getBindingData($binding) if (is_array($this->bindings[$binding])) { return $this->bindings[$binding]; } + return false; } /** @@ -5415,6 +5417,7 @@ function getOperationData($operation, $bindingType = 'soap') } } } + return array (); } /** @@ -5444,6 +5447,7 @@ function getOperationDataForSoapAction($soapAction, $bindingType = 'soap') } } } + return array (); } /** @@ -7844,7 +7848,7 @@ function loadWSDL() * get available data pertaining to an operation * * @param string $operation operation name - * @return array array of data pertaining to the operation + * @return array|false array of data pertaining to the operation, false on error or no data * @access public */ function getOperationData($operation) @@ -7859,6 +7863,7 @@ function getOperationData($operation) return $this->operations[$operation]; } $this->debug("No data for operation: $operation"); + return false; } /**