@@ -13,6 +13,6 @@ |
||
13 | 13 | */ |
14 | 14 | public function __construct($property) |
15 | 15 | { |
16 | - parent::__construct($property . ' property not found.'); |
|
16 | + parent::__construct($property.' property not found.'); |
|
17 | 17 | } |
18 | 18 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | { |
97 | 97 | $userId = $user instanceof Resources\User ? $user->id : $user; |
98 | 98 | |
99 | - $response = $this->sendRequest($userId . '/devices'); |
|
99 | + $response = $this->sendRequest($userId.'/devices'); |
|
100 | 100 | |
101 | 101 | $devices = []; |
102 | 102 | foreach ($response['items'] as $device) { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | */ |
161 | 161 | public function hangupCall(string $callId): bool |
162 | 162 | { |
163 | - $this->sendRequest('calls/' . $callId, 'DELETE'); |
|
163 | + $this->sendRequest('calls/'.$callId, 'DELETE'); |
|
164 | 164 | |
165 | 165 | return true; |
166 | 166 | } |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | */ |
179 | 179 | public function recordCall(string $callId, bool $value, bool $announcement): bool |
180 | 180 | { |
181 | - $this->sendRequest('calls/' . $callId . '/recording', 'PUT', [ |
|
181 | + $this->sendRequest('calls/'.$callId.'/recording', 'PUT', [ |
|
182 | 182 | 'json' => [ |
183 | 183 | 'value' => $value, |
184 | 184 | 'announcement' => $announcement, |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | */ |
200 | 200 | public function history(array $options = []): array |
201 | 201 | { |
202 | - $response = $this->sendRequest('history?' . $this->historyQueryString($options), 'GET'); |
|
202 | + $response = $this->sendRequest('history?'.$this->historyQueryString($options), 'GET'); |
|
203 | 203 | |
204 | 204 | $history = []; |
205 | 205 | foreach ($response['items'] as $item) { |
@@ -223,10 +223,10 @@ discard block |
||
223 | 223 | foreach ($options as $name => $value) { |
224 | 224 | if (is_array($value)) { |
225 | 225 | foreach ($value as $item) { |
226 | - array_push($queryString, $name . '=' . $item); |
|
226 | + array_push($queryString, $name.'='.$item); |
|
227 | 227 | } |
228 | 228 | } else { |
229 | - array_push($queryString, $name . '=' . $value); |
|
229 | + array_push($queryString, $name.'='.$value); |
|
230 | 230 | } |
231 | 231 | } |
232 | 232 |