@@ -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 | } |
@@ -70,7 +70,7 @@ discard block |
||
| 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 |
||
| 98 | 98 | 'destination' => $phoneDest, |
| 99 | 99 | 'tag1' => $platformId, |
| 100 | 100 | 'tag2' => $siteId, |
| 101 | - 'tag3' => ($callerId === true) ? 'callerid:'.$phoneDid : '', |
|
| 101 | + 'tag3' => ($callerId === true) ? 'callerid:' . $phoneDid : '', |
|
| 102 | 102 | 'did' => $phoneDid, |
| 103 | 103 | 'name' => $name, |
| 104 | 104 | ]; |