1 | <?php |
||
8 | class MigrateRefresh extends YarakCommand |
||
9 | { |
||
10 | /** |
||
11 | * Configure the command. |
||
12 | */ |
||
13 | protected function configure() |
||
23 | |||
24 | /** |
||
25 | * Add seed option. |
||
26 | */ |
||
27 | protected function addSeed() |
||
36 | |||
37 | /** |
||
38 | * Add seed class option. |
||
39 | */ |
||
40 | protected function addSeedClass() |
||
50 | |||
51 | /** |
||
52 | * Handle the command. |
||
53 | */ |
||
54 | protected function handle() |
||
64 | } |
||
65 |
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.