@@ -123,6 +123,6 @@ |
||
| 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 | } |
@@ -69,7 +69,7 @@ |
||
| 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; |