@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * Indicate why a command was not run |
| 27 | 27 | * |
| 28 | 28 | * @param ScheduledCommandInterface $command |
| 29 | - * @param $reason |
|
| 29 | + * @param string $reason |
|
| 30 | 30 | */ |
| 31 | 31 | public function commandNotRun(ScheduledCommandInterface $command, $reason) { |
| 32 | 32 | if ($this->optionReader->isDebugMode()) { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * Indicate why a command has run |
| 39 | 39 | * |
| 40 | 40 | * @param ScheduledCommandInterface $command |
| 41 | - * @param $runCommand |
|
| 41 | + * @param string $runCommand |
|
| 42 | 42 | */ |
| 43 | 43 | public function commandRun(ScheduledCommandInterface $command, $runCommand) { |
| 44 | 44 | if ($this->optionReader->isDebugMode()) { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Log plain text |
| 51 | 51 | * |
| 52 | - * @param $message |
|
| 52 | + * @param string $message |
|
| 53 | 53 | */ |
| 54 | 54 | public function log($message) |
| 55 | 55 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * User to run the command as |
| 27 | 27 | * |
| 28 | - * @return string Defaults to false to run as default user |
|
| 28 | + * @return boolean Defaults to false to run as default user |
|
| 29 | 29 | */ |
| 30 | 30 | public function user() |
| 31 | 31 | { |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Environment(s) under which the given command should run |
| 37 | 37 | * |
| 38 | - * @return string|array |
|
| 38 | + * @return string |
|
| 39 | 39 | */ |
| 40 | 40 | public function environment() |
| 41 | 41 | { |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -use App; |
|
| 13 | 12 | use Illuminate\Console\Command; |
| 14 | 13 | |
| 15 | 14 | abstract class ScheduledCommand extends Command implements ScheduledCommandInterface |
@@ -13,8 +13,6 @@ |
||
| 13 | 13 | use Illuminate\Console\Command; |
| 14 | 14 | use Indatus\Dispatcher\Commands\Run; |
| 15 | 15 | use Indatus\Dispatcher\Debugger; |
| 16 | -use Indatus\Dispatcher\OptionReader; |
|
| 17 | -use Indatus\Dispatcher\Scheduling\ScheduledCommand; |
|
| 18 | 16 | use Indatus\Dispatcher\Scheduling\ScheduledCommandInterface; |
| 19 | 17 | use Config; |
| 20 | 18 | |