@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $key = $task->getKey(); |
45 | 45 | |
46 | 46 | $tasks = $this->tasks->filter( |
47 | - function (TaskInterface $task) use ($key) { |
|
47 | + function(TaskInterface $task) use ($key) { |
|
48 | 48 | return !$task->isCompleted() && $task->getKey() === $key; |
49 | 49 | } |
50 | 50 | ); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public function findScheduled() |
66 | 66 | { |
67 | 67 | return $this->tasks->filter( |
68 | - function (TaskInterface $task) { |
|
68 | + function(TaskInterface $task) { |
|
69 | 69 | return !$task->isCompleted() && $task->getExecutionDate() <= new \DateTime(); |
70 | 70 | } |
71 | 71 | ); |