This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
10
{
11
use GeneratorCommandTrait;
12
13
/**
14
* The console command singature.
15
*
16
* @var string
17
*/
18
protected $signature = 'make:migration
19
{name : The name of the class}
20
{--a|addon= : The name of the addon}
21
{--create= : The table to be created}
22
{--update= : The table to be updated}
23
';
24
25
/**
26
* The console command description.
27
*
28
* @var string
29
*/
30
protected $description = '[+] Create a new migration class';
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.