Skip to content

Commit fd0483a

Browse files
committed
Fix indent and import
1 parent fcd12eb commit fd0483a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Phing/Test/Task/Optional/WikiPublishTaskTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Phing\Task\Ext\WikiPublishTask;
2525
use Phing\Test\Support\BuildFileTest;
2626
use PHPUnit\Framework\MockObject\MockObject;
27+
use function array_find_key;
2728

2829
/**
2930
* WikiPublish task test.
@@ -63,7 +64,7 @@ public function testApiEdit(): void
6364
->method('callApi')
6465
->willReturnCallback(function (string $action, array|null $args) use ($callParams, $returnResults): array {
6566
$index = array_find_key($callParams, function (array $value) use ($action, $args): bool {
66-
return $value[0] === $action && ($value[1] ?? null) === $args;
67+
return $value[0] === $action && ($value[1] ?? null) === $args;
6768
});
6869
if (isset($callParams[$index])) {
6970
$this->assertSame($callParams[$index][1] ?? null, $args);

0 commit comments

Comments
 (0)