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.
Completed
Push — master ( ad1d0c...78036d )
by Freek
15s
created
src/TailCommand.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
             });
37 37
     }
38 38
 
39
+    /**
40
+     * @return string
41
+     */
39 42
     protected function findLatestLogFile(string $directory)
40 43
     {
41 44
         $logFile = collect(File::allFiles($directory))
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     {
18 18
         $logDirectory = storage_path('logs');
19 19
 
20
-        if (! $path = $this->findLatestLogFile($logDirectory)) {
20
+        if (!$path = $this->findLatestLogFile($logDirectory)) {
21 21
             $this->warn("Could not find a log file in `{$logDirectory}`.");
22 22
 
23 23
             return;
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
         (new Process($tailCommand))
33 33
             ->setTimeout(null)
34
-            ->run(function ($type, $line) {
34
+            ->run(function($type, $line) {
35 35
                 $this->output->write($line);
36 36
             });
37 37
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected function findLatestLogFile(string $directory)
40 40
     {
41 41
         $logFile = collect(File::allFiles($directory))
42
-            ->sortByDesc(function (SplFileInfo $file) {
42
+            ->sortByDesc(function(SplFileInfo $file) {
43 43
                 return $file->getMTime();
44 44
             })
45 45
             ->first();
Please login to merge, or discard this patch.