GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 8954c8...99655a )
by Trevor
01:33
created
src/Api/AnalyticsVideo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
         }
25 25
 
26 26
 
27
-        if(null !== $metadata){
28
-            if(!is_array($metadata)){
27
+        if (null !== $metadata) {
28
+            if (!is_array($metadata)) {
29 29
                 throw new \InvalidArgumentException('Metadata argument must be an array');
30 30
             }
31 31
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             $analyticData->session->sessionId = $playerSession['session']['session_id'];
103 103
             $analyticData->session->loadedAt  = new DateTime($playerSession['session']['loaded_at']);
104 104
             $analyticData->session->endedAt   = new DateTime($playerSession['session']['ended_at']);
105
-            if(isset($playerSession['session']['metadatas'])){
105
+            if (isset($playerSession['session']['metadatas'])) {
106 106
                 $analyticData->session->metadata = $playerSession['session']['metadatas'];
107 107
             }
108 108
 
Please login to merge, or discard this patch.