@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | // Throw Exception to trigger Httplug Retry plugin |
| 112 | - if($response->getStatusCode() !== 200){ |
|
| 112 | + if ($response->getStatusCode() !== 200) { |
|
| 113 | 113 | throw new NetworkException('Wannaspeak request error', $request); |
| 114 | 114 | } |
| 115 | 115 | |
@@ -138,6 +138,6 @@ discard block |
||
| 138 | 138 | { |
| 139 | 139 | $timeStamp = time(); |
| 140 | 140 | |
| 141 | - return $timeStamp.'-'.md5($this->accountId.$timeStamp.$this->secretKey); |
|
| 141 | + return $timeStamp . '-' . md5($this->accountId . $timeStamp . $this->secretKey); |
|
| 142 | 142 | } |
| 143 | 143 | } |