@@ -44,6 +44,9 @@ |
||
| 44 | 44 | parent::__construct(); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $command |
|
| 49 | + */ |
|
| 47 | 50 | public function dep($command) |
| 48 | 51 | { |
| 49 | 52 | $this->parameters = $this->getParameters(); |
@@ -3,12 +3,12 @@ |
||
| 3 | 3 | namespace Reallyli\LaravelDeployer\Commands; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | -use Symfony\Component\Yaml\Yaml; |
|
| 7 | -use Symfony\Component\Process\Process; |
|
| 8 | -use Reallyli\LaravelDeployer\ConfigFile; |
|
| 9 | 6 | use Reallyli\LaravelDeployer\Concerns\DeployBuilder; |
| 10 | -use Reallyli\LaravelDeployer\LaravelDeployerException; |
|
| 11 | 7 | use Reallyli\LaravelDeployer\Concerns\ParsesCliParameters; |
| 8 | +use Reallyli\LaravelDeployer\ConfigFile; |
|
| 9 | +use Reallyli\LaravelDeployer\LaravelDeployerException; |
|
| 10 | +use Symfony\Component\Process\Process; |
|
| 11 | +use Symfony\Component\Yaml\Yaml; |
|
| 12 | 12 | |
| 13 | 13 | class BaseCommand extends Command |
| 14 | 14 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @param string $command The artisan command (with cli options if any). |
| 17 | 17 | * @param array $options The options that define the behaviour of the command. |
| 18 | - * @return callable A function that can be used as a task. |
|
| 18 | + * @return \Closure A function that can be used as a task. |
|
| 19 | 19 | */ |
| 20 | 20 | function artisan($command, $options = []) |
| 21 | 21 | { |