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

src/LPTracker/LPTracker.php 2 locations

@@ 470-475 (lines=6) @@
467
            LPTrackerRequest::sendRequest($url, [], 'DELETE', $this->token, $this->address);
468
            $response = $field->toArray();
469
            $response['value'] = null;
470
        } else {
471
            $data = [
472
                'value' => $field->getValue(),
473
            ];
474
            $response = LPTrackerRequest::sendRequest($url, $data, 'PUT', $this->token, $this->address);
475
        }
476
        return new ContactField($response);
477
    }
478
@@ 905-911 (lines=7) @@
902
            LPTrackerRequest::sendRequest($url, $data, 'DELETE', $this->token, $this->address);
903
            $response = $custom->toArray();
904
            $response['value'] = null;
905
        } else {
906
            $data = [
907
                'value' => $custom->getValue(),
908
                'options' => $options,
909
            ];
910
            $response = LPTrackerRequest::sendRequest($url, $data, 'PUT', $this->token, $this->address);
911
        }
912
        return new Custom($response, $custom->getLeadId());
913
    }
914