Code Duplication    Length = 7-7 lines in 2 locations

src/Addon/Console/MakeAddon.php 1 location

@@ 129-135 (lines=7) @@
126
     *
127
     * @return array
128
     */
129
    protected function getOptions()
130
    {
131
        return [
132
            ['shared', null, InputOption::VALUE_NONE, 'Indicates if the addon should be created in shared addons.'],
133
            ['migration', null, InputOption::VALUE_NONE, 'Indicates if a fields migration should be created.'],
134
        ];
135
    }
136
}
137

src/Stream/Console/Make.php 1 location

@@ 116-122 (lines=7) @@
113
     *
114
     * @return array
115
     */
116
    protected function getOptions()
117
    {
118
        return [
119
            ['namespace', null, InputOption::VALUE_OPTIONAL, 'The stream namespace if not the same as the addon.'],
120
            ['migration', null, InputOption::VALUE_NONE, 'Indicates if an stream migration should be created.'],
121
        ];
122
    }
123
}
124