1 | <?php |
||
9 | class ModuleSeed extends BaseCommand |
||
10 | { |
||
11 | use ModuleVerification; |
||
12 | use ModuleCreator; |
||
13 | |||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $signature = 'module:seed |
||
20 | {module* : Module name or multiple module names} |
||
21 | {--class= : Class name that exists inside module seeds directory without namespace}'; |
||
22 | |||
23 | /** |
||
24 | * The console command description. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $description = 'Runs main seeders for selected modules'; |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function proceed() |
||
58 | } |
||
59 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.