Code Duplication    Length = 5-5 lines in 2 locations

Validator.php 2 locations

@@ 223-227 (lines=5) @@
220
            }
221
        }
222
223
        if (null !== $group) {
224
            $this->values[$group][$key] = $value;
225
        } else {
226
            $this->values[$key] = $value;
227
        }
228
229
        return $this;
230
    }
@@ 467-471 (lines=5) @@
464
     */
465
    public function setValue($param, $value, $group = null)
466
    {
467
        if (null !== $group) {
468
            $this->values[$group][$param] = $value;
469
        } else {
470
            $this->values[$param] = $value;
471
        }
472
473
        return $this;
474
    }