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 ( 62f792...ec26c3 )
by Simon
02:13
created
src/Console/EventStoreBranchSwap.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param $branch
82
+     * @param string|null $branch
83 83
      */
84 84
     protected function replaceEnvConfig($branch)
85 85
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     {
86 86
         $envFilePath = base_path() . '/.env';
87 87
 
88
-        $rebuildFunction = function ($data) use ($branch) {
88
+        $rebuildFunction = function($data) use ($branch) {
89 89
             if (stristr($data, 'DB_TABLE_EVENTSTORE')) {
90 90
                 return "DB_TABLE_EVENTSTORE={$branch}\n";
91 91
             }
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
             return $data;
94 94
         };
95 95
 
96
-        $contentArray = array_map($rebuildFunction,file($envFilePath));
96
+        $contentArray = array_map($rebuildFunction, file($envFilePath));
97 97
 
98
-        file_put_contents($envFilePath, implode('',$contentArray));
98
+        file_put_contents($envFilePath, implode('', $contentArray));
99 99
     }
100 100
 }
Please login to merge, or discard this patch.