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 ( 3a5ed7...c71fa3 )
by Andrea
02:43
created
src/app/Repositories/Base.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         return $this->model->create($data);
49 49
     }
50 50
 
51
-    public function update(array $data, $id, $attribute="id")
51
+    public function update(array $data, $id, $attribute = "id")
52 52
     {
53 53
         $model_data = $this->model->where($attribute, '=', $id)->first();
54 54
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         return $this;
124 124
     }
125 125
 
126
-    public function skipCriteria($status = true){
126
+    public function skipCriteria($status = true) {
127 127
         $this->skipCriteria = $status;
128 128
         return $this;
129 129
     }
@@ -143,11 +143,11 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     public function  applyCriteria() {
146
-        if($this->skipCriteria === true)
146
+        if ($this->skipCriteria === true)
147 147
             return $this;
148 148
 
149
-        foreach($this->getCriteria() as $criteria) {
150
-            if($criteria instanceof Criteria)
149
+        foreach ($this->getCriteria() as $criteria) {
150
+            if ($criteria instanceof Criteria)
151 151
                 $this->model = $criteria->apply($this->model, $this);
152 152
         }
153 153
 
Please login to merge, or discard this patch.