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/Server.php 1 location

@@ 411-418 (lines=8) @@
408
     *
409
     * @param string $key {@see \OpenStack\Compute\v2\Api::deleteServerMetadataKey}
410
     */
411
    public function deleteMetadataItem(string $key)
412
    {
413
        if (isset($this->metadata[$key])) {
414
            unset($this->metadata[$key]);
415
        }
416
417
        $this->execute($this->api->deleteServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
418
    }
419
420
421
    /**

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

@@ 143-150 (lines=8) @@
140
     *
141
     * @param string $key {@see \OpenStack\Compute\v2\Api::deleteImageMetadataKey}
142
     */
143
    public function deleteMetadataItem(string $key)
144
    {
145
        if (isset($this->metadata[$key])) {
146
            unset($this->metadata[$key]);
147
        }
148
149
        $this->execute($this->api->deleteImageMetadataKey(), ['id' => $this->id, 'key' => $key]);
150
    }
151
152
    public function parseMetadata(ResponseInterface $response): array
153
    {