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 ( cc63dc...6993dc )
by Vadim
06:11
created
BeforeQueryTrait.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
                 $condition = array_merge($condition, $property->getValue($obj));
19 19
             }
20 20
         }
21
-        if($obj->hasAttribute($obj->removedAttribute))
21
+        if ($obj->hasAttribute($obj->removedAttribute))
22 22
             return  (new \sibds\behaviors\TrashQuery($obj))->findRemoved()->andFilterWhere($condition);
23 23
         else
24 24
             return parent::find()->andFilterWhere($condition);
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,9 +18,10 @@
 block discarded – undo
18 18
                 $condition = array_merge($condition, $property->getValue($obj));
19 19
             }
20 20
         }
21
-        if($obj->hasAttribute($obj->removedAttribute))
22
-            return  (new \sibds\behaviors\TrashQuery($obj))->findRemoved()->andFilterWhere($condition);
23
-        else
24
-            return parent::find()->andFilterWhere($condition);
21
+        if($obj->hasAttribute($obj->removedAttribute)) {
22
+                    return  (new \sibds\behaviors\TrashQuery($obj))->findRemoved()->andFilterWhere($condition);
23
+        } else {
24
+                    return parent::find()->andFilterWhere($condition);
25
+        }
25 26
     }
26 27
 }
Please login to merge, or discard this patch.