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

@@ 558-564 (lines=7) @@
555
     *
556
     * @return mixed
557
     */
558
    public function getMetadataItem(string $key)
559
    {
560
        $response = $this->execute($this->api->getServerMetadataKey(), ['id' => $this->id, 'key' => $key]);
561
        $value = $this->parseMetadata($response)[$key];
562
        $this->metadata[$key] = $value;
563
        return $value;
564
    }
565
566
    /**
567
     * Remove a specific metadata key.