@@ -67,7 +67,7 @@ |
||
67 | 67 | try { |
68 | 68 | return $this->processResponse($response); |
69 | 69 | } catch (ApiErrorException $e) { |
70 | - exit($e->getErrorType() . ' error: ' . $e->getMessage()); |
|
70 | + exit($e->getErrorType().' error: '.$e->getMessage()); |
|
71 | 71 | } |
72 | 72 | } |
73 | 73 |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function __toString() |
33 | 33 | { |
34 | - return __CLASS__ . ": [{$this->errorType}]: {$this->message}\n"; |
|
34 | + return __CLASS__.": [{$this->errorType}]: {$this->message}\n"; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | if (is_array($object->message) || is_object($object->message)) { |
46 | 46 | $output = ''; |
47 | 47 | foreach ($object->message as $message) { |
48 | - $output .= $message . PHP_EOL; |
|
48 | + $output .= $message.PHP_EOL; |
|
49 | 49 | } |
50 | 50 | $this->message = $output; |
51 | 51 | } else { |