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 4 locations

Map.php 4 locations

@@ 198-206 (lines=9) @@
195
    /**
196
     * {@inheritdoc}
197
     */
198
    public function drop(int $size): MapInterface
199
    {
200
        $map = clone $this;
201
        $map->keys = $this->keys->drop($size);
202
        $map->values = $this->values->drop($size);
203
        $map->pairs = $this->pairs->drop($size);
204
205
        return $map;
206
    }
207
208
    /**
209
     * {@inheritdoc}
@@ 211-219 (lines=9) @@
208
    /**
209
     * {@inheritdoc}
210
     */
211
    public function dropEnd(int $size): MapInterface
212
    {
213
        $map = clone $this;
214
        $map->keys = $this->keys->dropEnd($size);
215
        $map->values = $this->values->dropEnd($size);
216
        $map->pairs = $this->pairs->dropEnd($size);
217
218
        return $map;
219
    }
220
221
    /**
222
     * {@inheritdoc}
@@ 376-384 (lines=9) @@
373
    /**
374
     * {@inheritdoc}
375
     */
376
    public function take(int $size): MapInterface
377
    {
378
        $map = clone $this;
379
        $map->keys = $this->keys->take($size);
380
        $map->values = $this->values->take($size);
381
        $map->pairs = $this->pairs->take($size);
382
383
        return $map;
384
    }
385
386
    /**
387
     * {@inheritdoc}
@@ 389-397 (lines=9) @@
386
    /**
387
     * {@inheritdoc}
388
     */
389
    public function takeEnd(int $size): MapInterface
390
    {
391
        $map = clone $this;
392
        $map->keys = $this->keys->takeEnd($size);
393
        $map->values = $this->values->takeEnd($size);
394
        $map->pairs = $this->pairs->takeEnd($size);
395
396
        return $map;
397
    }
398
399
    /**
400
     * {@inheritdoc}