Skip to content

Commit

Permalink
Fix : Missing 'return' statement
Browse files Browse the repository at this point in the history
  • Loading branch information
s-renier-taonix-fr authored and f3l1x committed Feb 13, 2023
1 parent 822136a commit b20c51e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3025,6 +3025,7 @@ function sendRequest($data, $cookies = null)
$this->debug('set cURL payload');
return true;
}
return false;
}

/**
Expand Down Expand Up @@ -5342,6 +5343,7 @@ function getBindingData($binding)
if (is_array($this->bindings[$binding])) {
return $this->bindings[$binding];
}
return false;
}

/**
Expand Down Expand Up @@ -5415,6 +5417,7 @@ function getOperationData($operation, $bindingType = 'soap')
}
}
}
return array ();
}

/**
Expand Down Expand Up @@ -5444,6 +5447,7 @@ function getOperationDataForSoapAction($soapAction, $bindingType = 'soap')
}
}
}
return array ();
}

/**
Expand Down Expand Up @@ -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)
Expand All @@ -7859,6 +7863,7 @@ function getOperationData($operation)
return $this->operations[$operation];
}
$this->debug("No data for operation: $operation");
return false;
}

/**
Expand Down

0 comments on commit b20c51e

Please sign in to comment.