Code Duplication    Length = 3-3 lines in 2 locations

input/formats/tokens/Argv.php 2 locations

@@ 47-49 (lines=3) @@
44
    public function has($parameter) : bool
45
    {
46
        foreach ($this->items as $token) {
47
            if ($token === $parameter || 0 === strpos($token, $parameter . '=')) {
48
                return true;
49
            }
50
        }
51
52
        return false;
@@ 61-63 (lines=3) @@
58
    public function remove($parameter) : core\collections\interfaces\Map
59
    {
60
        foreach ($this->items as $key => $token) {
61
            if ($token === $parameter || 0 === strpos($token, $parameter . '=')) {
62
                unset($this->items[$key]);
63
            }
64
        }
65
66
        return $this;