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

@@ 363-372 (lines=10) @@
360
     * @param ResourceInterface $object
361
     * @return ResourceInterface
362
     */
363
    public function buildAsyncFromSync(string $resource, ResourceInterface $object): ResourceInterface
364
    {
365
        return $this->hydrateFQCN(
366
            $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
367
            $this->extractFQCN(
368
                $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
369
                $object
370
            )
371
        );
372
    }
373
374
    /**
375
     * @param string $resource
@@ 379-388 (lines=10) @@
376
     * @param ResourceInterface $object
377
     * @return ResourceInterface
378
     */
379
    public function buildSyncFromAsync(string $resource, ResourceInterface $object): ResourceInterface
380
    {
381
        return $this->hydrateFQCN(
382
            $this->options[Options::NAMESPACE] . '\\Sync\\' . $resource,
383
            $this->extractFQCN(
384
                $this->options[Options::NAMESPACE] . '\\Async\\' . $resource,
385
                $object
386
            )
387
        );
388
    }
389
390
    /**
391
     * @param string $class