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