Code Duplication    Length = 7-7 lines in 2 locations

src/reflection/GenericMethodAction.php 1 location

@@ 54-60 (lines=7) @@
51
        return $this;
52
    }
53
54
    public function fill(array $parameters) {
55
        $parameters = parent::fill($parameters);
56
        if ($this->fill) {
57
            $parameters = call_user_func($this->fill, $parameters);
58
        }
59
        return $parameters;
60
    }
61
62
    /**
63
     * @param string $name

src/reflection/GenericObjectAction.php 1 location

@@ 91-97 (lines=7) @@
88
        return call_user_func($this->execute, $object);
89
    }
90
91
    public function fill(array $parameters) {
92
        $parameters = parent::fill($parameters);
93
        if ($this->fill) {
94
            return call_user_func($this->fill, $parameters);
95
        }
96
        return $parameters;
97
    }
98
}