Skip to content

Commit

Permalink
Update signatures of methods of SoapClient
Browse files Browse the repository at this point in the history
  • Loading branch information
yethee committed Dec 12, 2021
1 parent 2a570fb commit 3b56a8d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dictionaries/CallMap.php
Expand Up @@ -12244,12 +12244,12 @@
'SoapClient::__construct' => ['void', 'wsdl'=>'mixed', 'options='=>'array|null'],
'SoapClient::__doRequest' => ['?string', 'request'=>'string', 'location'=>'string', 'action'=>'string', 'version'=>'int', 'one_way='=>'bool'],
'SoapClient::__getCookies' => ['array'],
'SoapClient::__getFunctions' => ['array'],
'SoapClient::__getLastRequest' => ['string'],
'SoapClient::__getLastRequestHeaders' => ['string'],
'SoapClient::__getLastResponse' => ['string'],
'SoapClient::__getLastResponseHeaders' => ['string'],
'SoapClient::__getTypes' => ['array'],
'SoapClient::__getFunctions' => ['?array'],
'SoapClient::__getLastRequest' => ['?string'],
'SoapClient::__getLastRequestHeaders' => ['?string'],
'SoapClient::__getLastResponse' => ['?string'],
'SoapClient::__getLastResponseHeaders' => ['?string'],
'SoapClient::__getTypes' => ['?array'],
'SoapClient::__setCookie' => ['', 'name'=>'string', 'value='=>'string'],
'SoapClient::__setLocation' => ['string', 'new_location='=>'string'],
'SoapClient::__setSoapHeaders' => ['bool', 'soapheaders='=>''],
Expand Down
12 changes: 6 additions & 6 deletions stubs/soap.phpstub
Expand Up @@ -189,39 +189,39 @@ class SoapClient {
/**
* Returns last SOAP request
* @link https://php.net/manual/en/soapclient.getlastrequest.php
* @return string The last SOAP request, as an XML string.
* @return string|null The last SOAP request, as an XML string.
* @since 5.0.1
*/
public function __getLastRequest () {}

/**
* Returns last SOAP response
* @link https://php.net/manual/en/soapclient.getlastresponse.php
* @return string The last SOAP response, as an XML string.
* @return string|null The last SOAP response, as an XML string.
* @since 5.0.1
*/
public function __getLastResponse () {}

/**
* Returns the SOAP headers from the last request
* @link https://php.net/manual/en/soapclient.getlastrequestheaders.php
* @return string The last SOAP request headers.
* @return string|null The last SOAP request headers.
* @since 5.0.1
*/
public function __getLastRequestHeaders () {}

/**
* Returns the SOAP headers from the last response
* @link https://php.net/manual/en/soapclient.getlastresponseheaders.php
* @return string The last SOAP response headers.
* @return string|null The last SOAP response headers.
* @since 5.0.1
*/
public function __getLastResponseHeaders () {}

/**
* Returns list of available SOAP functions
* @link https://php.net/manual/en/soapclient.getfunctions.php
* @return array The array of SOAP function prototypes, detailing the return type,
* @return array|null The array of SOAP function prototypes, detailing the return type,
* the function name and type-hinted parameters.
* @since 5.0.1
*/
Expand All @@ -230,7 +230,7 @@ class SoapClient {
/**
* Returns a list of SOAP types
* @link https://php.net/manual/en/soapclient.gettypes.php
* @return array The array of SOAP types, detailing all structures and types.
* @return array|null The array of SOAP types, detailing all structures and types.
* @since 5.0.1
*/
public function __getTypes () {}
Expand Down

0 comments on commit 3b56a8d

Please sign in to comment.