1 | <?php |
||
8 | class MakeSeeder extends YarakCommand |
||
9 | { |
||
10 | /** |
||
11 | * The command signature. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'make:seeder |
||
16 | {name : The name of your seeder file.}'; |
||
17 | |||
18 | /** |
||
19 | * The command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Create a new seeder file.'; |
||
24 | |||
25 | /** |
||
26 | * Handle the command. |
||
27 | */ |
||
28 | protected function handle() |
||
36 | } |
||
37 |
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.