Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
31 | public function run(): bool |
||
32 | { |
||
33 | $artisanCommand = $this->getArtisanCommnad(); |
||
34 | |||
35 | if ($artisanCommand->getOutput()->isVerbose()) { |
||
36 | $artisanCommand->getOutput()->newLine(); |
||
37 | |||
38 | return ! $artisanCommand->call($this->command, $this->arguments); |
||
39 | } |
||
40 | |||
41 | return ! $artisanCommand->callSilent($this->command, $this->arguments); |
||
42 | } |
||
43 | } |
||
44 |