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

@@ 159-167 (lines=9) @@
156
        return new self($items);
157
    }
158
159
    public function remove($value): self
160
    {
161
        $items = $this->items;
162
        $key   = $this->search($value);
163
164
        unset($items[$key]);
165
166
        return new self($items);
167
    }
168
169
    public function removeAll($value): self
170
    {

src/Vector.php 1 location

@@ 116-124 (lines=9) @@
113
        return new self($items);
114
    }
115
116
    public function remove($value): self
117
    {
118
        $items = $this->items;
119
        $index = $this->search($value);
120
121
        unset($items[$index]);
122
123
        return new self($items);
124
    }
125
126
    public function removeAll($value): self
127
    {