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 ( 4e0f46...61af64 )
by Marceau
03:34
created
src/Crud.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,12 +24,10 @@  discard block
 block discarded – undo
24 24
         if (is_string($crudable))
25 25
         {
26 26
             return new CrudTable(new $crudable);
27
-        }
28
-        else if ($crudable instanceof CrudTable)
27
+        } else if ($crudable instanceof CrudTable)
29 28
         {
30 29
             return $crudable;
31
-        }
32
-        else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
30
+        } else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
33 31
         {
34 32
             return new CrudTable($crudable);
35 33
         }
@@ -47,12 +45,10 @@  discard block
 block discarded – undo
47 45
         if (is_string($crudable))
48 46
         {
49 47
             return new CrudEntry(new $crudable);
50
-        }
51
-        else if ($crudable instanceof CrudEntry)
48
+        } else if ($crudable instanceof CrudEntry)
52 49
         {
53 50
             return $crudable;
54
-        }
55
-        else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
51
+        } else if (is_object($crudable) && array_key_exists(Crudable::class, class_uses($crudable)))
56 52
         {
57 53
             return new CrudEntry($crudable);
58 54
         }
Please login to merge, or discard this patch.