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

@@ 351-360 (lines=10) @@
348
     * @param ResourceInterface $object
349
     * @return ResourceInterface
350
     */
351
    public function buildAsyncFromSync(string $resource, ResourceInterface $object): ResourceInterface
352
    {
353
        return $this->hydrateFQCN(
354
            $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
355
            $this->extractFQCN(
356
                $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
357
                $object
358
            )
359
        );
360
    }
361
362
    /**
363
     * @param string $resource
@@ 367-376 (lines=10) @@
364
     * @param ResourceInterface $object
365
     * @return ResourceInterface
366
     */
367
    public function buildSyncFromAsync(string $resource, ResourceInterface $object): ResourceInterface
368
    {
369
        return $this->hydrateFQCN(
370
            $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
371
            $this->extractFQCN(
372
                $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
373
                $object
374
            )
375
        );
376
    }
377
378
    /**
379
     * @param string $class