Code Duplication    Length = 9-9 lines in 2 locations

src/Params/InputParam.php 2 locations

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