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.

Code Duplication    Length = 9-9 lines in 2 locations

src/Operator.php 2 locations

@@ 185-193 (lines=9) @@
182
        }
183
184
        // scalar value or array in existed field
185
        if (!is_array($this->operators['$addToSet'][$field]) || !isset($this->operators['$addToSet'][$field]['$each'])) {
186
            $this->operators['$addToSet'][$field] = array(
187
                '$each' => array(
188
                    $this->operators['$addToSet'][$field],
189
                    $value,
190
                ),
191
            );
192
            return $this;
193
        }
194
195
        // field already $each
196
        $this->operators['$addToSet'][$field]['$each'][] = $value;
@@ 210-218 (lines=9) @@
207
        }
208
209
        // scalar value or array in existed field
210
        if (!is_array($this->operators['$addToSet'][$field]) || !isset($this->operators['$addToSet'][$field]['$each'])) {
211
            $this->operators['$addToSet'][$field] = array(
212
                '$each' => array_merge(
213
                    array($this->operators['$addToSet'][$field]),
214
                    $values
215
                ),
216
            );
217
            return $this;
218
        }
219
220
        // field already $each
221
        $this->operators['$addToSet'][$field] = array(