@@ -59,7 +59,7 @@ |
||
| 59 | 59 | /** |
| 60 | 60 | * Get the command definitions this command provides |
| 61 | 61 | * |
| 62 | - * @param \Buttress\Concrete\Locator\Site|null $site |
|
| 62 | + * @param Site $site |
|
| 63 | 63 | * @return \League\CLImate\Argument\Manager[] A list containing a manager for each command this instance offers |
| 64 | 64 | */ |
| 65 | 65 | public function getCommands(Site $site) |
@@ -3,14 +3,11 @@ |
||
| 3 | 3 | namespace Buttress\Concrete\Console\Command; |
| 4 | 4 | |
| 5 | 5 | use Buttress\Concrete\Console\Command\Manager\CommandManager; |
| 6 | -use Buttress\Concrete\Console\Command\Manager\DefinitionFactory; |
|
| 7 | 6 | use Buttress\Concrete\CommandBus\Command\Cache\Clear; |
| 8 | 7 | use Buttress\Concrete\Locator\Site; |
| 9 | 8 | use Buttress\Concrete\Route\RouteCollector; |
| 10 | 9 | use League\CLImate\Argument\Manager; |
| 11 | 10 | use League\CLImate\CLImate; |
| 12 | -use League\CLImate\Util\Output; |
|
| 13 | -use League\CLImate\Util\Writer\Buffer; |
|
| 14 | 11 | use League\Tactician\CommandBus; |
| 15 | 12 | |
| 16 | 13 | class CacheCommand implements Command |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * Handle info types |
| 55 | 55 | * |
| 56 | 56 | * @param $level |
| 57 | - * @param $message |
|
| 57 | + * @param string $message |
|
| 58 | 58 | * @param array $context |
| 59 | 59 | */ |
| 60 | 60 | private function handleInfo($level, $message, array $context) |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * Handle debub types |
| 67 | 67 | * |
| 68 | 68 | * @param $level |
| 69 | - * @param $message |
|
| 69 | + * @param string $message |
|
| 70 | 70 | * @param array $context |
| 71 | 71 | */ |
| 72 | 72 | private function handleDebug($level, $message, array $context) |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * Handle Errors |
| 81 | 81 | * |
| 82 | 82 | * @param $level |
| 83 | - * @param $message |
|
| 83 | + * @param string $message |
|
| 84 | 84 | * @param array $context |
| 85 | 85 | */ |
| 86 | 86 | private function handleError($level, $message, array $context) |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * Interpolate context into a message. |
| 93 | 93 | * This is copied directly from PSR-3 documentation |
| 94 | 94 | * |
| 95 | - * @param $message |
|
| 95 | + * @param string $message |
|
| 96 | 96 | * @param array $context |
| 97 | 97 | * @return string |
| 98 | 98 | */ |