Completed
Branch master (7c4a20)
by Vincent
22:42 queued 10:20
created
src/bongatech-sms/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * Request constructor.
46 46
      *
47
-     * @param  $endpoint
47
+     * @param  string $endpoint
48 48
      * @param array $headers
49 49
      * @param array $body
50 50
      */
Please login to merge, or discard this patch.
src/bongatech-sms/SMS.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $this->recipients = $recipients;
190 190
         $this->message = $message;
191
-        $this->endpoint = $this->config['base_url'] . $this->config['sms_endpoint'];
191
+        $this->endpoint = $this->config['base_url'].$this->config['sms_endpoint'];
192 192
         $response = '';
193 193
 
194 194
 
@@ -230,13 +230,13 @@  discard block
 block discarded – undo
230 230
                 )
231 231
             ),
232 232
             'MessageType' => array(
233
-                (string)$this->message_type
233
+                (string) $this->message_type
234 234
             ),
235 235
             'BatchType' => array(
236
-                (string)$this->batch_type
236
+                (string) $this->batch_type
237 237
             ),
238 238
             'SourceAddr' => array(
239
-                (string)$this->config['sender_id']
239
+                (string) $this->config['sender_id']
240 240
             ),
241 241
             'MessagePayload' => array(
242 242
                 array(
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 
291 291
         $config = Config::get();
292 292
 
293
-        $endpoint = $config['base_url'] . $config['balance_endpoint'] . '?UserID=' . $config['user_id'] . '&Token=' . md5($config['password']);
293
+        $endpoint = $config['base_url'].$config['balance_endpoint'].'?UserID='.$config['user_id'].'&Token='.md5($config['password']);
294 294
 
295 295
         $request = new Request($endpoint);
296 296
         $response = $request->getBalance();
Please login to merge, or discard this patch.