@@ -41,7 +41,7 @@ |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * @return null|TaskInterface |
|
| 44 | + * @return RepeatableTask|null |
|
| 45 | 45 | */ |
| 46 | 46 | public function run(): ?TaskInterface |
| 47 | 47 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | |
| 53 | 53 | public function cancel(): void |
| 54 | 54 | { |
| 55 | - $this->callback = function () {}; |
|
| 55 | + $this->callback = function() {}; |
|
| 56 | 56 | $this->setExpiryTime(0); |
| 57 | 57 | } |
| 58 | 58 | |