Conditions | 4 |
Paths | 8 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function handle() |
||
40 | { |
||
41 | if (! $this->option('alone')) { |
||
42 | $this->call('clear-compiled'); |
||
43 | } |
||
44 | |||
45 | if ($this->laravel->bound('command.ide-helper.generate')) { |
||
46 | $this->call('ide-helper:generate'); |
||
47 | $this->call('ide-helper:meta'); |
||
48 | $this->call('ide-helper:models', ['-R' => true, '-N' => true]); |
||
49 | } |
||
50 | |||
51 | if (! $this->option('alone')) { |
||
52 | $this->call('optimize'); |
||
53 | } |
||
54 | } |
||
55 | } |
||
56 |
Adding a
@return
annotation 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.