@@ -53,24 +53,24 @@ |
||
| 53 | 53 | */ |
| 54 | 54 | public function getError() : string |
| 55 | 55 | { |
| 56 | - $error = (string) $this->response->ErrDesc; |
|
| 57 | - if ($extendedError = $this->getExtendedError()) { |
|
| 58 | - $error .= " ($extendedError)"; |
|
| 59 | - } |
|
| 56 | + $error = (string) $this->response->ErrDesc; |
|
| 57 | + if ($extendedError = $this->getExtendedError()) { |
|
| 58 | + $error .= " ($extendedError)"; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | 61 | return $error; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * Fetches the Extended Error from the Response |
|
| 66 | - * @return string |
|
| 67 | - * @author TLS |
|
| 68 | - * @date 1-30-2017 |
|
| 69 | - */ |
|
| 64 | + /** |
|
| 65 | + * Fetches the Extended Error from the Response |
|
| 66 | + * @return string |
|
| 67 | + * @author TLS |
|
| 68 | + * @date 1-30-2017 |
|
| 69 | + */ |
|
| 70 | 70 | public function getExtendedError() : string |
| 71 | - { |
|
| 72 | - return isset($this->response->ExtendedErrorInfo) ? (string) $this->response->ExtendedErrorInfo : ''; |
|
| 73 | - } |
|
| 71 | + { |
|
| 72 | + return isset($this->response->ExtendedErrorInfo) ? (string) $this->response->ExtendedErrorInfo : ''; |
|
| 73 | + } |
|
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * Converts the response to an Array |