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

@@ 294-303 (lines=10) @@
291
        return $this;
292
    }
293
294
    public function setPriorityId($id)
295
    {
296
        if (is_null($this->priority)) {
297
            $this->priority = new Priority();
298
        }
299
300
        $this->priority->id = (string) $id;
301
302
        return $this;
303
    }
304
305
    public function setPriorityName($name)
306
    {
@@ 305-314 (lines=10) @@
302
        return $this;
303
    }
304
305
    public function setPriorityName($name)
306
    {
307
        if (is_null($this->priority)) {
308
            $this->priority = new Priority();
309
        }
310
311
        $this->priority->name = (string) $name;
312
313
        return $this;
314
    }
315
316
    public function addVersion($name)
317
    {