|
@@ -101,7 +101,7 @@ discard block |
|
|
block discarded – undo |
|
101
|
101
|
} |
|
102
|
102
|
|
|
103
|
103
|
// Throw Exception to trigger Httplug Retry plugin |
|
104
|
|
- if(200 !== $response->getStatusCode()){ |
|
|
104
|
+ if (200 !== $response->getStatusCode()) { |
|
105
|
105
|
throw new NetworkException('Wannaspeak request error : response code ' . $response->getStatusCode(), $request); |
|
106
|
106
|
} |
|
107
|
107
|
|
|
@@ -130,6 +130,6 @@ discard block |
|
|
block discarded – undo |
|
130
|
130
|
{ |
|
131
|
131
|
$timeStamp = time(); |
|
132
|
132
|
|
|
133
|
|
- return $timeStamp.'-'.md5($this->accountId.$timeStamp.$this->secretKey); |
|
|
133
|
+ return $timeStamp . '-' . md5($this->accountId . $timeStamp . $this->secretKey); |
|
134
|
134
|
} |
|
135
|
135
|
} |
Please login to merge, or discard this patch.