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 ( 643888...c53597 )
by Freek
04:55
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $logDirectory = storage_path('logs');
22 22
 
23
-        if (! $path = $this->findLatestLogFile($logDirectory)) {
23
+        if (!$path = $this->findLatestLogFile($logDirectory)) {
24 24
             $this->warn("Could not find a log file in `{$logDirectory}`.");
25 25
 
26 26
             return;
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         (new Process($tailCommand))
38 38
             ->setTty(true)
39 39
             ->setTimeout(null)
40
-            ->run(function ($type, $line) {
40
+            ->run(function($type, $line) {
41 41
                 $this->handleClearOption();
42 42
 
43 43
                 $this->output->write($line);
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     protected function findLatestLogFile(string $directory)
48 48
     {
49 49
         $logFile = collect(File::allFiles($directory))
50
-            ->sortByDesc(function (SplFileInfo $file) {
50
+            ->sortByDesc(function(SplFileInfo $file) {
51 51
                 return $file->getMTime();
52 52
             })
53 53
             ->first();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     protected function handleClearOption()
61 61
     {
62
-        if (! $this->option('clear')) {
62
+        if (!$this->option('clear')) {
63 63
             return;
64 64
         }
65 65
 
Please login to merge, or discard this patch.