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/Compute/v2/Models/Image.php 1 location

@@ 126-133 (lines=8) @@
123
     *
124
     * @param string $key {@see \OpenStack\Compute\v2\Api::deleteImageMetadataKey}
125
     */
126
    public function deleteMetadataItem(string $key)
127
    {
128
        if (isset($this->metadata[$key])) {
129
            unset($this->metadata[$key]);
130
        }
131
132
        $this->execute($this->api->deleteImageMetadataKey(), ['id' => $this->id, 'key' => $key]);
133
    }
134
135
    public function parseMetadata(ResponseInterface $response): array
136
    {

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

@@ 317-324 (lines=8) @@
314
     *
315
     * @param string $key {@see \OpenStack\Compute\v2\Api::deleteServerMetadataKey}
316
     */
317
    public function deleteMetadataItem(string $key)
318
    {
319
        if (isset($this->metadata[$key])) {
320
            unset($this->metadata[$key]);
321
        }
322
323
        $this->execute($this->api->deleteServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
324
    }
325
326
327
    /**