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 2 locations

src/Compute/v2/Models/Server.php 1 location

@@ 118-126 (lines=9) @@
115
    /**
116
     * @inheritdoc
117
     */
118
    protected function getAliases(): array
119
    {
120
        return parent::getAliases() + [
121
            'image'   => new Alias('image', Image::class),
122
            'flavor'  => new Alias('flavor', Flavor::class),
123
            'created' => new Alias('created', \DateTimeImmutable::class),
124
            'updated' => new Alias('updated', \DateTimeImmutable::class)
125
        ];
126
    }
127
128
    /**
129
     * {@inheritDoc}

src/Images/v2/Models/Image.php 1 location

@@ 90-98 (lines=9) @@
87
    /**
88
     * @inheritdoc
89
     */
90
    protected function getAliases(): array
91
    {
92
        return parent::getAliases() + [
93
            'created_at' => new Alias('createdAt', \DateTimeImmutable::class),
94
            'updated_at' => new Alias('updatedAt', \DateTimeImmutable::class),
95
            'fileUri'    => new Alias('fileUri', \GuzzleHttp\Psr7\Uri::class),
96
            'schemaUri'  => new Alias('schemaUri', \GuzzleHttp\Psr7\Uri::class)
97
        ];
98
    }
99
100
    public function populateFromArray(array $data): self
101
    {