@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | $fh = fopen($tmpFile, 'w'); |
| 183 | 183 | |
| 184 | 184 | if (false !== $fh) { |
| 185 | - register_shutdown_function(function () use ($tmpFile) { |
|
| 185 | + register_shutdown_function(function() use ($tmpFile) { |
|
| 186 | 186 | unlink($tmpFile); |
| 187 | 187 | }); |
| 188 | 188 | |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | $fh = fopen($tmpFile, 'w'); |
| 216 | 216 | if (false !== $fh) { |
| 217 | - register_shutdown_function(function () use ($tmpFile) { |
|
| 217 | + register_shutdown_function(function() use ($tmpFile) { |
|
| 218 | 218 | unlink($tmpFile); |
| 219 | 219 | }); |
| 220 | 220 | |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | */ |
| 102 | 102 | private function filterValidTasks(array $classes): array |
| 103 | 103 | { |
| 104 | - return array_filter($classes, function ($classname) { |
|
| 104 | + return array_filter($classes, function($classname) { |
|
| 105 | 105 | $t = new ReflectionClass($classname); |
| 106 | 106 | |
| 107 | 107 | if (!$t->isSubclassOf(Task::class) || !$t->isInstantiable()) { |