1 | <?php |
||
15 | class PublishCommand extends Command |
||
16 | { |
||
17 | /** |
||
18 | * The name and signature of the console command. |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $signature = 'multimenu:publish '. |
||
22 | '{--force : Overwrite existing files by default. This option can not be used.}'. |
||
23 | '{--only= : Publish only specific part. Available parts: config, views. This option can not be used.}'; |
||
24 | |||
25 | /** |
||
26 | * The console command description. |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $description = 'Publish the Multi menu package parts.'; |
||
30 | |||
31 | /** |
||
32 | * Execute the console command. |
||
33 | * @return void |
||
34 | */ |
||
35 | public function handle() |
||
70 | } |
||
71 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.