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

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

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

@@ 400-406 (lines=7) @@
397
     *
398
     * @return mixed
399
     */
400
    public function getMetadataItem(string $key)
401
    {
402
        $response = $this->execute($this->api->getServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
403
        $value = $this->parseMetadata($response)[$key];
404
        $this->metadata[$key] = $value;
405
        return $value;
406
    }
407
408
    /**
409
     * Remove a specific metadata key.