@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Converts a parse exception to a string. |
| 29 | 29 | * |
| 30 | - * @param Tarsana\Syntax\Exceptions\ParseException $e |
|
| 30 | + * @param ParseException $e |
|
| 31 | 31 | * @return string |
| 32 | 32 | */ |
| 33 | 33 | public function printParseException(ParseException $e) : string |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * or if many exists. |
| 70 | 70 | * |
| 71 | 71 | * @param string $name |
| 72 | - * @return Tarsana\Command\Interfaces\TemplateInterface |
|
| 72 | + * @return TemplateInterface |
|
| 73 | 73 | * @throws Tarsana\Command\Exceptions\TemplateNotFound |
| 74 | 74 | * @throws Tarsana\Command\Exceptions\TemplateNameConflict |
| 75 | 75 | */ |
@@ -44,14 +44,14 @@ discard block |
||
| 44 | 44 | { |
| 45 | 45 | $this->commands = []; |
| 46 | 46 | $this->setupSubCommands() |
| 47 | - ->name('Unknown') |
|
| 48 | - ->version('1.0.0') |
|
| 49 | - ->description('...') |
|
| 50 | - ->descriptions([]) |
|
| 51 | - ->options([]) |
|
| 52 | - ->console(new Console) |
|
| 53 | - ->fs(new Filesystem('.')) |
|
| 54 | - ->init(); |
|
| 47 | + ->name('Unknown') |
|
| 48 | + ->version('1.0.0') |
|
| 49 | + ->description('...') |
|
| 50 | + ->descriptions([]) |
|
| 51 | + ->options([]) |
|
| 52 | + ->console(new Console) |
|
| 53 | + ->fs(new Filesystem('.')) |
|
| 54 | + ->init(); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | protected function setupSubCommands() |
| 270 | 270 | { |
| 271 | 271 | return $this->command('--help', new HelpCommand($this)) |
| 272 | - ->command('--version', new VersionCommand($this)); |
|
| 272 | + ->command('--version', new VersionCommand($this)); |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | public function describe(string $name, string $description = null) |