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

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

@@ 125-131 (lines=7) @@
122
     *
123
     * @return mixed
124
     */
125
    public function getMetadataItem(string $key)
126
    {
127
        $response = $this->execute($this->api->getImageMetadataKey(), ['id' => $this->id, 'key' => $key]);
128
        $value = $this->parseMetadata($response)[$key];
129
        $this->metadata[$key] = $value;
130
        return $value;
131
    }
132
133
    /**
134
     * Remove a specific metadata key.

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

@@ 446-452 (lines=7) @@
443
     *
444
     * @return mixed
445
     */
446
    public function getMetadataItem(string $key)
447
    {
448
        $response = $this->execute($this->api->getServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
449
        $value = $this->parseMetadata($response)[$key];
450
        $this->metadata[$key] = $value;
451
        return $value;
452
    }
453
454
    /**
455
     * Remove a specific metadata key.