Completed
Pull Request — master (#8)
by Elodie
04:24
created
Api/WannaSpeakHttpClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,6 +123,6 @@
 block discarded – undo
123 123
     {
124 124
         $timeStamp = time();
125 125
 
126
-        return $timeStamp.'-'.md5($this->accountId.$timeStamp.$this->secretKey);
126
+        return $timeStamp . '-' . md5($this->accountId . $timeStamp . $this->secretKey);
127 127
     }
128 128
 }
Please login to merge, or discard this patch.
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.