@@ -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) |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | { |
| 108 | 108 | $this->config = Config::get(); |
| 109 | 109 | |
| 110 | - if (empty($this->config['user_id']) || empty($this->config['password']) || empty($this->config['sender_id'])){ |
|
| 110 | + if (empty($this->config['user_id']) || empty($this->config['password']) || empty($this->config['sender_id'])) { |
|
| 111 | 111 | throw new BongaTechException('Please ensure that all configuration variables have been set.'); |
| 112 | 112 | } |
| 113 | 113 | |