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 = 8-8 lines in 2 locations

src/LPTracker/LPTracker.php 2 locations

@@ 176-183 (lines=8) @@
173
        $contactData['project_id'] = $project;
174
        $contactData['details'] = $details;
175
176
        foreach ($fields as $fieldId => $fieldValue) {
177
            if ($fieldValue instanceof ContactField) {
178
                $fieldId = $fieldValue->getId();
179
                $fieldValue = $fieldValue->getValue();
180
            }
181
182
            $contactData['fields'][$fieldId] = $fieldValue;
183
        }
184
185
        $contact = new Contact($contactData);
186
        $contact->validate();
@@ 246-253 (lines=8) @@
243
        $contactData['id'] = $contactId;
244
        $contactData['details'] = $details;
245
246
        foreach ($fields as $fieldId => $fieldValue) {
247
            if ($fieldValue instanceof ContactField) {
248
                $fieldId = $fieldValue->getId();
249
                $fieldValue = $fieldValue->getValue();
250
            }
251
252
            $contactData['fields'][$fieldId] = $fieldValue;
253
        }
254
255
        $contact = new Contact($contactData);
256
        $contact->validate();