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

src/Map.php 1 location

@@ 120-128 (lines=9) @@
117
        return new self($items);
118
    }
119
120
    public function replace($searchValue, $replacementValue): self
121
    {
122
        $items = $this->items;
123
        $key   = $this->search($searchValue);
124
125
        $items[$key] = $replacementValue;
126
127
        return new self($items);
128
    }
129
130
    public function replaceAll($searchValue, $replacementValue): self
131
    {

src/Vector.php 1 location

@@ 90-98 (lines=9) @@
87
        return new self($items);
88
    }
89
90
    public function replace($searchValue, $replacementValue): self
91
    {
92
        $items = $this->items;
93
        $index = $this->search($searchValue);
94
95
        $items[$index] = $replacementValue;
96
97
        return new self($items);
98
    }
99
100
    public function replaceAll($searchValue, $replacementValue): self
101
    {