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

src/Issue/IssueField.php 2 locations

@@ 231-240 (lines=10) @@
228
        return $this->issuetype;
229
    }
230
231
    public function setProjectKey($key)
232
    {
233
        if(is_null($this->project)) {
234
            $this->project = new Project();
235
        }
236
237
        $this->project->key = (string) $key;
238
239
        return $this;
240
    }
241
242
    public function setProjectId($id)
243
    {
@@ 242-251 (lines=10) @@
239
        return $this;
240
    }
241
242
    public function setProjectId($id)
243
    {
244
        if(is_null($this->project)) {
245
            $this->project = new Project();
246
        }
247
248
        $this->project->id = (string) $id;
249
250
        return $this;
251
    }
252
253
    public function setSummary($summary)
254
    {