Code Duplication    Length = 9-9 lines in 2 locations

src/Params/InputParam.php 2 locations

@@ 130-138 (lines=9) @@
127
     */
128
    public function getValue()
129
    {
130
        if ($this->type == self::TYPE_GET) {
131
            if (!filter_has_var(INPUT_GET, $this->key) && isset($_GET[$this->key])) {
132
                return $_GET[$this->key];
133
            }
134
            if ($this->isMulti()) {
135
                return filter_input(INPUT_GET, $this->key, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
136
            }
137
            return filter_input(INPUT_GET, $this->key);
138
        }
139
        if ($this->type == self::TYPE_POST) {
140
            if (!filter_has_var(INPUT_POST, $this->key) && isset($_POST[$this->key])) {
141
                return $_POST[$this->key];
@@ 139-147 (lines=9) @@
136
            }
137
            return filter_input(INPUT_GET, $this->key);
138
        }
139
        if ($this->type == self::TYPE_POST) {
140
            if (!filter_has_var(INPUT_POST, $this->key) && isset($_POST[$this->key])) {
141
                return $_POST[$this->key];
142
            }
143
            if ($this->isMulti()) {
144
                return filter_input(INPUT_POST, $this->key, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY);
145
            }
146
            return filter_input(INPUT_POST, $this->key);
147
        }
148
        if ($this->type == self::TYPE_FILE) {
149
            if (isset($_FILES[$this->key])) {
150
                if ($this->isMulti()) {