Skip to content

Commit be17fa3

Browse files
committed
Merge branch 'release/1.0.4'
2 parents 4852ef3 + 187acdd commit be17fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Here are the methods that must be implemented and why:
8181
- **getSoapClient()**: must return the [SoapClient](http://php.net/manual/en/class.soapclient.php) object that is responsible fo sending the requests.
8282
- **setSoapHeader($nameSpace, $name, $data, $mustUnderstand = false, $actor = null)**: look to [AbstractSoapClientBase](#abstractsoapclientbase) part that details this method. Basically, it allows to define [SoapHeader](http://php.net/manual/en/class.soapheader.php)s for the request
8383
- **getLastError()**: must return the last error, its format is up to you
84-
- **saveLastError($methoName, \SoapFault $soapFault)**: look to [AbstractSoapClientBase](#abstractsoapclientbase) part that details this method. Basically, it must allow to store a catched [Soapfault](http://php.net/manual/en/class.soapfault.php) object when a request has failed
84+
- **saveLastError($methodName, \SoapFault $soapFault)**: look to [AbstractSoapClientBase](#abstractsoapclientbase) part that details this method. Basically, it must allow to store a catched [Soapfault](http://php.net/manual/en/class.soapfault.php) object when a request has failed
8585
- **getResult()**: should return the Soap Web Service response, it's up to you
8686
- **setResult($result)**: must accept any parameter type as it should received the Soap Web Service response
8787

@@ -241,7 +241,7 @@ Then call any of these base methods:
241241
- **getLastRequestHeaders($asArray = false)**: returns either the HTTP request's headers as a string or as an array (each HTTP header is parsed)
242242
- **getLastResponseHeaders($asArray = false)**: returns either the HTTP response's headers as a string or as an array
243243
- **getLastError**: automatically populated with an error when ```$this->saveLastError(__METHOD__, $soapFault)``` is called
244-
- **getLastErrorForMethod($methoName)** : returns the error associated to the called method. It should return a ```SoapFault``` object
244+
- **getLastErrorForMethod($methodName)** : returns the error associated to the called method. It should return a ```SoapFault``` object
245245
```php
246246
$result = $update->UpdateBulkOrder(new \Api\StructType\ApiUpdateBulkOrder())
247247
if ($result !== false) {

0 commit comments

Comments
 (0)