@@ -236,9 +236,9 @@ discard block |
||
236 | 236 | $events = []; |
237 | 237 | |
238 | 238 | $response = $this->request("accounts/{$accountId}/{$type}_events", 'get', null, [ |
239 | - 'page' => $page, |
|
240 | - 'maxItems' => $maxItems, |
|
241 | - 'order' => $order |
|
239 | + 'page' => $page, |
|
240 | + 'maxItems' => $maxItems, |
|
241 | + 'order' => $order |
|
242 | 242 | ]); |
243 | 243 | |
244 | 244 | if ($response === null) return $events; |
@@ -401,8 +401,8 @@ discard block |
||
401 | 401 | * @throws \LiveStream\Exceptions\LiveStreamException |
402 | 402 | */ |
403 | 403 | public function getLiveVideo( |
404 | - int $accountId, |
|
405 | - int $eventId, |
|
404 | + int $accountId, |
|
405 | + int $eventId, |
|
406 | 406 | ?int $offsetPostId = null, |
407 | 407 | ?int $older = null, |
408 | 408 | ?int $newer = null |
@@ -410,9 +410,9 @@ discard block |
||
410 | 410 | $video = null; |
411 | 411 | |
412 | 412 | $response = $this->request("accounts/$accountId/events/$eventId/videos", 'get', null, [ |
413 | - 'offsetPostId' => $offsetPostId, |
|
414 | - 'older' => $older, |
|
415 | - 'newer' => $newer |
|
413 | + 'offsetPostId' => $offsetPostId, |
|
414 | + 'older' => $older, |
|
415 | + 'newer' => $newer |
|
416 | 416 | ]); |
417 | 417 | |
418 | 418 | if ($response === null) return null; |
@@ -442,9 +442,9 @@ discard block |
||
442 | 442 | |
443 | 443 | $token = $this->generateToken('playback'); |
444 | 444 | $query = [ |
445 | - 'clientId' => $this->clientId, |
|
446 | - 'timestamp' => $token['timestamp'], |
|
447 | - 'token' => $token['token'] |
|
445 | + 'clientId' => $this->clientId, |
|
446 | + 'timestamp' => $token['timestamp'], |
|
447 | + 'token' => $token['token'] |
|
448 | 448 | ]; |
449 | 449 | return $video->m3u8 . '?' . http_build_query($query); |
450 | 450 | } |