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

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