Completed
Push — master ( 2996b3...2d8d08 )
by Francis
17s queued 10s
created
src/LiveStream/LiveStream.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -236,9 +236,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.