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

src/ObjectStore/v1/Models/ObjectEntity.php 2 locations

@@ 148-158 (lines=11) @@
145
    /**
146
     * {@inheritdoc}
147
     */
148
    public function mergeMetadata(array $metadata)
149
    {
150
        $options = [
151
            'containerName' => $this->containerName,
152
            'name'          => $this->name,
153
            'metadata'      => array_merge($metadata, $this->getMetadata()),
154
        ];
155
156
        $response = $this->execute($this->api->postObject(), $options);
157
        $this->metadata = $this->parseMetadata($response);
158
    }
159
160
    /**
161
     * {@inheritdoc}
@@ 163-173 (lines=11) @@
160
    /**
161
     * {@inheritdoc}
162
     */
163
    public function resetMetadata(array $metadata)
164
    {
165
        $options = [
166
            'containerName'  => $this->containerName,
167
            'name'           => $this->name,
168
            'metadata'       => $metadata,
169
        ];
170
171
        $response = $this->execute($this->api->postObject(), $options);
172
        $this->metadata = $this->parseMetadata($response);
173
    }
174
175
    /**
176
     * {@inheritdoc}