@@ -23,9 +23,9 @@ |
||
| 23 | 23 | { |
| 24 | 24 | parent::__construct(); |
| 25 | 25 | $this->parent($parent) |
| 26 | - ->console($parent->console()) |
|
| 27 | - ->fs($parent->fs) |
|
| 28 | - ->templatesLoader($parent->templatesLoader); |
|
| 26 | + ->console($parent->console()) |
|
| 27 | + ->fs($parent->fs) |
|
| 28 | + ->templatesLoader($parent->templatesLoader); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | protected function setupSubCommands() |
@@ -43,15 +43,15 @@ discard block |
||
| 43 | 43 | public function __construct() |
| 44 | 44 | { |
| 45 | 45 | $this->commands([]) |
| 46 | - ->name('Unknown') |
|
| 47 | - ->version('1.0.0') |
|
| 48 | - ->description('...') |
|
| 49 | - ->descriptions([]) |
|
| 50 | - ->options([]) |
|
| 51 | - ->console(new Console) |
|
| 52 | - ->fs(new Filesystem('.')) |
|
| 53 | - ->setupSubCommands() |
|
| 54 | - ->init(); |
|
| 46 | + ->name('Unknown') |
|
| 47 | + ->version('1.0.0') |
|
| 48 | + ->description('...') |
|
| 49 | + ->descriptions([]) |
|
| 50 | + ->options([]) |
|
| 51 | + ->console(new Console) |
|
| 52 | + ->fs(new Filesystem('.')) |
|
| 53 | + ->setupSubCommands() |
|
| 54 | + ->init(); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | protected function setupSubCommands() |
| 299 | 299 | { |
| 300 | 300 | return $this->command('--help', new HelpCommand($this)) |
| 301 | - ->command('--version', new VersionCommand($this)); |
|
| 301 | + ->command('--version', new VersionCommand($this)); |
|
| 302 | 302 | } |
| 303 | 303 | |
| 304 | 304 | public function describe(string $name, string $description = null) |