Completed
Pull Request — master (#8)
by Elodie
04:24
created
Api/Statistics.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $data = json_decode($response->getBody()->getContents(), true);
71 71
 
72 72
         if ($data['error']) {
73
-            throw new \Exception('WannaSpeak API: '.$data['error']['txt']);
73
+            throw new \Exception('WannaSpeak API: ' . $data['error']['txt']);
74 74
         }
75 75
 
76 76
         return $data;
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             'destination' => $phoneDest,
99 99
             'tag1'        => $platformId,
100 100
             'tag2'        => $siteId,
101
-            'tag3'        => ($callerId === true) ? 'callerid:'.$phoneDest : '',
101
+            'tag3'        => ($callerId === true) ? 'callerid:' . $phoneDest : '',
102 102
             'did'         => $phoneDid,
103 103
             'name'        => $name,
104 104
         ];
Please login to merge, or discard this patch.