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

MaterializedPathBehavior.php 2 locations

@@ 585-587 (lines=3) @@
582
            $this->owner->setAttribute($this->treeAttribute, $id);
583
584
            $primaryKey = $this->owner->primaryKey();
585
            if (!isset($primaryKey[0])) {
586
                throw new Exception('"' . $this->owner->className() . '" must have a primary key.');
587
            }
588
589
            $this->owner->updateAll([$this->treeAttribute => $id], [$primaryKey[0] => $id]);
590
        }
@@ 593-595 (lines=3) @@
590
        }
591
        if ($this->owner->getAttribute($this->pathAttribute) === null) {
592
            $primaryKey = $this->owner->primaryKey();
593
            if (!isset($primaryKey[0])) {
594
                throw new Exception('"' . $this->owner->className() . '" must have a primary key.');
595
            }
596
            $id = $this->getPrimaryKeyValue();
597
            if ($this->operation === self::OPERATION_MAKE_ROOT) {
598
                $path = $id;