Skip to content

Commit 17bd934

Browse files
committed
Fix types
1 parent 0ad6662 commit 17bd934

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Fixer/AbstractFixerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ final protected static function getFixer(): FixerInterface
157157
}
158158

159159
/**
160-
* @param null|array<string, mixed> $configuration
160+
* @param array<string, mixed> $configuration
161161
*/
162162
final protected function doTest(string $expected, ?string $input = null, array $configuration = [], ?WhitespacesFixerConfig $whitespacesFixerConfig = null): void
163163
{

tests/Fixer/NumericLiteralSeparatorFixerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ public function testReversingCodeSample(): void
7171
}
7272

7373
/**
74-
* @param null|array<string, null|bool> $configuration
74+
* @param array<string, null|bool> $configuration
7575
*
7676
* @dataProvider provideFixCases
7777
*/
78-
public function testFix(string $expected, ?string $input = null, ?array $configuration = null): void
78+
public function testFix(string $expected, ?string $input = null, array $configuration = []): void
7979
{
8080
$this->doTest(
8181
$expected,

tests/Fixer/PromotedConstructorPropertyFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testIsRisky(): void
3737
*
3838
* @dataProvider provideFixCases
3939
*/
40-
public function testFix(string $expected, ?string $input = null, ?array $configuration = []): void
40+
public function testFix(string $expected, ?string $input = null, array $configuration = []): void
4141
{
4242
$this->doTest($expected, $input, $configuration);
4343
}

0 commit comments

Comments
 (0)