@@ -44,7 +44,7 @@ |
||
| 44 | 44 | /** |
| 45 | 45 | * Request constructor. |
| 46 | 46 | * |
| 47 | - * @param $endpoint |
|
| 47 | + * @param string $endpoint |
|
| 48 | 48 | * @param array $body |
| 49 | 49 | */ |
| 50 | 50 | public function __construct($endpoint, array $body = null) |
@@ -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 | } |