@@ -19,7 +19,6 @@ |
||
| 19 | 19 | use Netresearch\Kite\Exception; |
| 20 | 20 | use Netresearch\Kite\Service\Config; |
| 21 | 21 | use Netresearch\Kite\Console\Command\JobCommand; |
| 22 | -use Netresearch\Kite\Service\Factory; |
|
| 23 | 22 | use Symfony\Component\Console\Command\Command; |
| 24 | 23 | use Symfony\Component\Console\Input\InputInterface; |
| 25 | 24 | use Symfony\Component\Console\Input\InputOption; |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use Netresearch\Kite\Service\Descriptor; |
| 23 | 23 | use Symfony\Component\Console\Command\Command; |
| 24 | 24 | use Symfony\Component\Console\Input\InputInterface; |
| 25 | - |
|
| 26 | 25 | use Symfony\Component\Console\Output\ConsoleOutput; |
| 27 | 26 | use Symfony\Component\Console\Output\OutputInterface; |
| 28 | 27 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * ConsoleOutput constructor. |
| 30 | 30 | * |
| 31 | - * @param int|mixed $verbosity The verbosity |
|
| 31 | + * @param integer $verbosity The verbosity |
|
| 32 | 32 | * @param boolean $decorated If output should be decorated |
| 33 | 33 | * @param OutputFormatterInterface|null $formatter Formatter |
| 34 | 34 | */ |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Netresearch\Kite\Console\Output; |
| 15 | 15 | use Symfony\Component\Console\Formatter\OutputFormatterInterface; |
| 16 | - |
|
| 17 | 16 | use Symfony\Component\Console\Output\StreamOutput; |
| 18 | 17 | use Symfony\Component\Console\Formatter\OutputFormatterStyle; |
| 19 | 18 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * Constructor. |
| 54 | 54 | * |
| 55 | - * @param mixed $stream A stream resource |
|
| 55 | + * @param resource $stream A stream resource |
|
| 56 | 56 | * @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface) |
| 57 | 57 | * @param bool|null $decorated Whether to decorate messages (null for auto-guessing) |
| 58 | 58 | * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter) |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | /** |
| 131 | 131 | * Write to output |
| 132 | 132 | * |
| 133 | - * @param array|string $messages Messages |
|
| 133 | + * @param string $messages Messages |
|
| 134 | 134 | * @param bool $newline Whether to append a newline |
| 135 | 135 | * @param int $type The output type |
| 136 | 136 | * |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | namespace Netresearch\Kite\Service; |
| 16 | 16 | use Netresearch\Kite\Job; |
| 17 | 17 | use Netresearch\Kite\Service\Composer\Package; |
| 18 | -use Netresearch\Kite\Task; |
|
| 19 | 18 | use Netresearch\Kite\Exception; |
| 20 | 19 | use Netresearch\Kite\Tasks; |
| 21 | 20 | |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | namespace Netresearch\Kite\Service; |
| 16 | 16 | |
| 17 | 17 | use Netresearch\Kite\Console\Output\Output; |
| 18 | - |
|
| 19 | 18 | use Symfony\Component\Console\Application; |
| 20 | 19 | use Symfony\Component\Console\Helper; |
| 21 | 20 | use Symfony\Component\Console\Input\InputInterface; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | 14 | namespace Netresearch\Kite\Service; |
| 15 | -use Netresearch\Kite\Exception; |
|
| 16 | 15 | use Netresearch\Kite\Task; |
| 17 | 16 | |
| 18 | 17 | /** |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * Run the task |
| 67 | 67 | * |
| 68 | - * @return mixed |
|
| 68 | + * @return null|string |
|
| 69 | 69 | */ |
| 70 | 70 | public function run() |
| 71 | 71 | { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | namespace Netresearch\Kite\Task; |
| 16 | 16 | |
| 17 | 17 | |
| 18 | -use Netresearch\Kite\Exception; |
|
| 19 | 18 | use Netresearch\Kite\Task; |
| 20 | 19 | |
| 21 | 20 | /** |