Completed
Pull Request — master (#7)
by Elodie
02:10
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $data = json_decode($response->getBody()->getContents(), true);
70 70
 
71 71
         if ($data['error']) {
72
-            throw new \Exception('WannaSpeak API: '.$data['error']['txt']);
72
+            throw new \Exception('WannaSpeak API: ' . $data['error']['txt']);
73 73
         }
74 74
 
75 75
         return $data;
Please login to merge, or discard this patch.