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/Resource/Async/Build.php 1 location

@@ 26-33 (lines=8) @@
23
        });
24
    }
25
26
    public function job(int $id): PromiseInterface
27
    {
28
        return $this->getTransport()->request(
29
            'jobs/' . $id
30
        )->then(function ($response) {
31
            return resolve($this->getTransport()->getHydrator()->hydrate('Job', $response['job']));
32
        });
33
    }
34
}
35

src/Resource/Async/Repository.php 1 location

@@ 26-33 (lines=8) @@
23
        });
24
    }
25
26
    public function build(int $id): PromiseInterface
27
    {
28
        return $this->getTransport()->request(
29
            'repos/' . $this->slug() . '/builds/' . $id
30
        )->then(function ($response) {
31
            return resolve($this->getTransport()->getHydrator()->hydrate('Build', $response['build']));
32
        });
33
    }
34
35
    public function commits(): ObservableInterface
36
    {