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

@@ 113-119 (lines=7) @@
110
     *
111
     * @return mixed
112
     */
113
    public function getMetadataItem(string $key)
114
    {
115
        $response = $this->execute($this->api->getImageMetadataKey(), ['id' => $this->id, 'key' => $key]);
116
        $value = $this->parseMetadata($response)[$key];
117
        $this->metadata[$key] = $value;
118
        return $value;
119
    }
120
121
    /**
122
     * Remove a specific metadata key.

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

@@ 304-310 (lines=7) @@
301
     *
302
     * @return mixed
303
     */
304
    public function getMetadataItem(string $key)
305
    {
306
        $response = $this->execute($this->api->getServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
307
        $value = $this->parseMetadata($response)[$key];
308
        $this->metadata[$key] = $value;
309
        return $value;
310
    }
311
312
    /**
313
     * Remove a specific metadata key.