Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | protected function configure() |
||
14 | { |
||
15 | $this->setName('db:seed') |
||
16 | ->setDescription('Seed the database.') |
||
17 | ->setHelp('This command will run the given seeder class.') |
||
18 | ->addArgument( |
||
19 | 'class', |
||
20 | InputArgument::OPTIONAL, |
||
21 | 'The name of the seeder class to run.', |
||
22 | 'DatabaseSeeder' |
||
23 | ); |
||
24 | } |
||
25 | |||
36 |
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.