@@ -120,7 +120,7 @@ |
||
| 120 | 120 | */ |
| 121 | 121 | public function isSuccess() |
| 122 | 122 | { |
| 123 | - return $this->getCode()=='1001'; |
|
| 123 | + return $this->getCode() == '1001'; |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | } |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | $this->setTimestamp(); |
| 110 | 110 | $this->setToken(); |
| 111 | 111 | |
| 112 | - if(!isset($this->config['user_id']) && !isset($this->config['password']) && !isset($this->config['sender_id'])){ |
|
| 112 | + if (!isset($this->config['user_id']) && !isset($this->config['password']) && !isset($this->config['sender_id'])) { |
|
| 113 | 113 | throw new BongaTechException('Please ensure that all configuration variables have been set.'); |
| 114 | 114 | } |
| 115 | 115 | } |