@@ -277,8 +277,7 @@ |
||
277 | 277 | return 0; |
278 | 278 | } |
279 | 279 | $c0 = $path[0]; |
280 | - $c1 = ($n > 1) ? $path[1] : |
|
281 | - 0; |
|
280 | + $c1 = ($n > 1) ? $path[1] : 0; |
|
282 | 281 | if ($c0 === $slash) { |
283 | 282 | if ($c1 === $slash) { |
284 | 283 | return 2; // absolute UNC pathname "\\\\foo" |
@@ -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()) { |