@@ -58,8 +58,7 @@ |
||
| 58 | 58 | * @class AbstractCommand |
| 59 | 59 | * @package Platine\Framework\Task\Command |
| 60 | 60 | */ |
| 61 | -abstract class AbstractCommand extends Command |
|
| 62 | -{ |
|
| 61 | +abstract class AbstractCommand extends Command { |
|
| 63 | 62 | /** |
| 64 | 63 | * The scheduler instance |
| 65 | 64 | * @var SchedulerInterface |
@@ -57,8 +57,7 @@ discard block |
||
| 57 | 57 | * @class SchedulerListCommand |
| 58 | 58 | * @package Platine\Framework\Task\Command |
| 59 | 59 | */ |
| 60 | -class SchedulerListCommand extends AbstractCommand |
|
| 61 | -{ |
|
| 60 | +class SchedulerListCommand extends AbstractCommand { |
|
| 62 | 61 | /** |
| 63 | 62 | * Create new instance |
| 64 | 63 | * @param SchedulerInterface $scheduler |
@@ -79,8 +78,7 @@ discard block |
||
| 79 | 78 | /** |
| 80 | 79 | * {@inheritdoc} |
| 81 | 80 | */ |
| 82 | - public function execute() |
|
| 83 | - { |
|
| 81 | + public function execute() { |
|
| 84 | 82 | //Load the task list |
| 85 | 83 | $this->loadTasks(); |
| 86 | 84 | |
@@ -56,8 +56,7 @@ discard block |
||
| 56 | 56 | * @package Platine\Framework\Task\Command |
| 57 | 57 | * @template T |
| 58 | 58 | */ |
| 59 | -class SchedulerRunCommand extends AbstractCommand |
|
| 60 | -{ |
|
| 59 | +class SchedulerRunCommand extends AbstractCommand { |
|
| 61 | 60 | /** |
| 62 | 61 | * Create new instance |
| 63 | 62 | * @param SchedulerInterface $scheduler |
@@ -80,8 +79,7 @@ discard block |
||
| 80 | 79 | /** |
| 81 | 80 | * {@inheritdoc} |
| 82 | 81 | */ |
| 83 | - public function execute() |
|
| 84 | - { |
|
| 82 | + public function execute() { |
|
| 85 | 83 | //Load the task |
| 86 | 84 | $this->loadTasks(); |
| 87 | 85 | |