Code Duplication    Length = 7-7 lines in 2 locations

src/Addon/Console/MakeAddon.php 1 location

@@ 100-106 (lines=7) @@
97
     *
98
     * @return array
99
     */
100
    protected function getOptions()
101
    {
102
        return [
103
            ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'],
104
            ['migration', null, InputOption::VALUE_NONE, 'Indicates if a fields migration should be created.']
105
        ];
106
    }
107
}
108

src/Stream/Console/Make.php 1 location

@@ 109-115 (lines=7) @@
106
     *
107
     * @return array
108
     */
109
    protected function getOptions()
110
    {
111
        return [
112
            ['namespace', null, InputOption::VALUE_OPTIONAL, 'The stream namespace if not the same as the addon.'],
113
            ['migration', null, InputOption::VALUE_NONE, 'Indicates if an stream migration should be created.']
114
        ];
115
    }
116
}
117