| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 60 | protected function migrate() |
||
| 61 | { |
||
| 62 | $this->line('Running Database Migrations'); |
||
| 63 | $this->line(''); |
||
| 64 | $this->call('migrate', ['--force' => true]); |
||
| 65 | $this->line(''); |
||
| 66 | |||
| 67 | $this->line('Seeding database'); |
||
| 68 | $this->line(''); |
||
| 69 | $this->call('db:seed', [ |
||
| 70 | '--force' => true, |
||
| 71 | '--class' => \AdminTableSeeder::class, |
||
| 72 | ]); |
||
| 73 | $this->line(''); |
||
| 74 | |||
| 75 | } |
||
| 76 | } |
||
| 77 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.