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

src/Hydrator.php 2 locations

@@ 198-207 (lines=10) @@
195
     * @param  ResourceInterface $object
196
     * @return ResourceInterface
197
     */
198
    public function buildAsyncFromSync(string $resource, ResourceInterface $object): ResourceInterface
199
    {
200
        return $this->hydrateFQCN(
201
            $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
202
            $this->extractFQCN(
203
                $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
204
                $object
205
            )
206
        );
207
    }
208
209
    /**
210
     * @param  string            $resource
@@ 214-223 (lines=10) @@
211
     * @param  ResourceInterface $object
212
     * @return ResourceInterface
213
     */
214
    public function buildSyncFromAsync(string $resource, ResourceInterface $object): ResourceInterface
215
    {
216
        return $this->hydrateFQCN(
217
            $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
218
            $this->extractFQCN(
219
                $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
220
                $object
221
            )
222
        );
223
    }
224
225
    protected function setUpAnnotations()
226
    {