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.
Passed
Push — master ( 44a49b...c8f8d9 )
by
unknown
02:29
created
src/Models/Sql/Traits/HierarchicalTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                         ]);
86 86
                 }
87 87
 
88
-                $update[ 'id' ] = $child->id;
88
+                $update['id'] = $child->id;
89 89
 
90 90
                 if ($this->qb
91 91
                     ->table($this->table)
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
                         ->update($update = [
101 101
                             'record_right' => $right,
102 102
                         ]);
103
-                    $update[ 'id' ] = $child->id;
103
+                    $update['id'] = $child->id;
104 104
                 }
105 105
 
106 106
                 $i++;
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public function getNumOfParents($id)
217 217
     {
218
-        if($parents = $this->getParents($id)) {
218
+        if ($parents = $this->getParents($id)) {
219 219
             return $parents->count();
220 220
         }
221 221
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      */
282 282
     public function getNumOfChilds($idParent, $direct = true)
283 283
     {
284
-        if($childs = $this->getChilds($idParent)) {
284
+        if ($childs = $this->getChilds($idParent)) {
285 285
             return $childs->count();
286 286
         }
287 287
 
Please login to merge, or discard this patch.