@@ -62,7 +62,8 @@ |
||
| 62 | 62 | */ |
| 63 | 63 | protected function filter(\RecursiveIteratorIterator $iterator): \FilterIterator |
| 64 | 64 | { |
| 65 | - return new class($iterator) extends \FilterIterator { |
|
| 65 | + return new class($iterator) extends \FilterIterator |
|
| 66 | + { |
|
| 66 | 67 | public function accept(): bool |
| 67 | 68 | { |
| 68 | 69 | return $this->getInnerIterator()->current()->getExtension() === 'php'; |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | return; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - if (++$this->index < $this->config['skipFirst']) { |
|
| 56 | + if (++ $this->index < $this->config['skipFirst']) { |
|
| 57 | 57 | return; |
| 58 | 58 | } |
| 59 | 59 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | { |
| 43 | 43 | $io = $this->di('interactor'); |
| 44 | 44 | |
| 45 | - if ([] === $tasks = $this->dueTasks()) { |
|
| 45 | + if ([] === $tasks = $this->dueTasks()) { |
|
| 46 | 46 | return $io->infoBgRed('No due tasks for now', true); |
| 47 | 47 | } |
| 48 | 48 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | protected $namespaces = []; |
| 20 | 20 | |
| 21 | 21 | /** @var array Tasks provided by package already */ |
| 22 | - protected $factoryTasks = [ |
|
| 22 | + protected $factoryTasks = [ |
|
| 23 | 23 | 'schedule' => ScheduleTask::class, |
| 24 | 24 | ]; |
| 25 | 25 | |