Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function run() |
||
28 | { |
||
29 | if ($this->repository->repositoryExists()) { |
||
30 | $this->output->info('Migration table already exists.'); |
||
|
|||
31 | |||
32 | return 0; |
||
33 | } |
||
34 | |||
35 | $this->repository->createRepository(); |
||
36 | $this->output->info('Migration table created successfully.'); |
||
37 | |||
38 | return 0; |
||
39 | } |
||
40 | |||
51 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.