Code Duplication    Length = 8-8 lines in 3 locations

src/Command.php 3 locations

@@ 63-70 (lines=8) @@
60
     * @param  string
61
     * @return mixed
62
     */
63
    public function name(string $value = null)
64
    {
65
        if (null === $value) {
66
            return $this->name;
67
        }
68
        $this->name = $value;
69
        return $this;
70
    }
71
72
    /**
73
     * version getter and setter.
@@ 93-100 (lines=8) @@
90
     * @param  string
91
     * @return mixed
92
     */
93
    public function description(string $value = null)
94
    {
95
        if (null === $value) {
96
            return $this->description;
97
        }
98
        $this->description = $value;
99
        return $this;
100
    }
101
102
    /**
103
     * descriptions getter and setter.
@@ 255-262 (lines=8) @@
252
     * @param  callable
253
     * @return mixed
254
     */
255
    public function action(callable $value = null)
256
    {
257
        if (null === $value) {
258
            return $this->action;
259
        }
260
        $this->action = $value;
261
        return $this;
262
    }
263
264
    /**
265
     * commands getter and setter.