Code Duplication    Length = 7-7 lines in 2 locations

src/Console/MakeMenu.php 1 location

@@ 153-159 (lines=7) @@
150
     *
151
     * @return string
152
     */
153
    protected function method()
154
    {
155
        if (strtolower($this->option('method')) == 'head') {
156
            return 'get';
157
        }
158
        return strtolower($this->option('method'));
159
    }
160
161
    /**
162
     * Get the link name.

src/Console/MakeRoute.php 1 location

@@ 265-271 (lines=7) @@
262
     *
263
     * @return string
264
     */
265
    protected function method()
266
    {
267
        if (strtolower($this->option('method')) == 'head') {
268
            return 'get';
269
        }
270
        return strtolower($this->option('method'));
271
    }
272
273
    /**
274
     * Get the action replacement.