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 = 9-9 lines in 3 locations

src/Resource/Sync/Build.php 1 location

@@ 12-20 (lines=9) @@
9
10
class Build extends BaseBuild
11
{
12
    public function jobs(): array
13
    {
14
        return await(
15
            Promise::fromObservable(
16
                $this->getTransport()->getHydrator()->buildAsyncFromSync('Build', $this)->jobs()->toArray()
17
            ),
18
            $this->getTransport()->getLoop()
19
        );
20
    }
21
22
    public function job(int $id): Job
23
    {

src/Resource/Sync/Repository.php 2 locations

@@ 14-22 (lines=9) @@
11
12
class Repository extends BaseRepository
13
{
14
    public function builds(): array
15
    {
16
        return await(
17
            Promise::fromObservable(
18
                $this->getTransport()->getHydrator()->buildAsyncFromSync('Repository', $this)->builds()->toArray()
19
            ),
20
            $this->getTransport()->getLoop()
21
        );
22
    }
23
24
    public function build(int $id): Build
25
    {
@@ 32-40 (lines=9) @@
29
        );
30
    }
31
32
    public function commits(): array
33
    {
34
        return await(
35
            Promise::fromObservable(
36
                $this->getTransport()->getHydrator()->buildAsyncFromSync('Repository', $this)->commits()->toArray()
37
            ),
38
            $this->getTransport()->getLoop()
39
        );
40
    }
41
}
42