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
Pull Request — master (#7)
by t
02:23
created
src/ihelpers/Arrays.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     public static function combine($keys, $values)
155 155
     {
156 156
         if (count($keys) == count($values)) {
157
-            return (array) array_combine($keys, $values);
157
+            return (array)array_combine($keys, $values);
158 158
         }
159 159
         $array = [];
160 160
         foreach ($keys as $index => $key) {
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
             } else {
472 472
                 $function = $callback;
473 473
                 if (false === is_callable($callback)) {
474
-                    $function = function ($row) use ($callback, $isStrict) {
474
+                    $function = function($row) use ($callback, $isStrict) {
475 475
                         return true === $isStrict ? $row === $callback : $row == $callback;
476 476
                     };
477 477
                 }
Please login to merge, or discard this patch.
src/ihelpers/Numbers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     public static function toBytes($size)
78 78
     {
79
-        $callback = function ($matches) {
79
+        $callback = function($matches) {
80 80
             $sizeMap = [
81 81
                 '' => 0,
82 82
                 'b' => 0, // 为了简化正则
Please login to merge, or discard this patch.