Code Duplication    Length = 7-7 lines in 2 locations

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

src/Addon/Console/MakeAddon.php 1 location

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