Code Duplication    Length = 7-7 lines in 2 locations

PHPDaemon/Config/Entry/Generic.php 2 locations

@@ 81-87 (lines=7) @@
78
     * @param mixed
79
     * @return void
80
     */
81
    public function setHumanValue($value)
82
    {
83
        $this->humanValue = $value;
84
        $old = $this->value;
85
        $this->value = static::humanToPlain($value);
86
        $this->onUpdate($old);
87
    }
88
89
    /**
90
     * Get value
@@ 103-109 (lines=7) @@
100
     * @param mixed
101
     * @return void
102
     */
103
    public function setValue($value)
104
    {
105
        $old = $this->value;
106
        $this->value = $value;
107
        $this->humanValue = static::plainToHuman($value);
108
        $this->onUpdate($old);
109
    }
110
111
    /**
112
     * @return bool