Skip to content

Commit 796a3bc

Browse files
committed
Fix list type
1 parent 93fe8c1 commit 796a3bc

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function testSuperclass(?string $objectManagerLoader): void
241241

242242
/**
243243
* @dataProvider generatedIdsProvider
244-
* @param mixed[] $expectedErrors
244+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
245245
*/
246246
public function testGeneratedIds(string $file, array $expectedErrors, ?string $objectManagerLoader): void
247247
{

tests/Rules/Doctrine/ORM/EntityNotFinalRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function getRule(): Rule
2525

2626
/**
2727
* @dataProvider ruleProvider
28-
* @param mixed[] $expectedErrors
28+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
2929
*/
3030
public function testRule(string $file, array $expectedErrors): void
3131
{
@@ -35,7 +35,7 @@ public function testRule(string $file, array $expectedErrors): void
3535

3636
/**
3737
* @dataProvider ruleProvider
38-
* @param mixed[] $expectedErrors
38+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
3939
*/
4040
public function testRuleWithoutObjectManagerLoader(string $file, array $expectedErrors): void
4141
{

tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function getRule(): Rule
3131

3232
/**
3333
* @dataProvider ruleProvider
34-
* @param mixed[] $expectedErrors
34+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
3535
*/
3636
public function testRule(string $file, array $expectedErrors): void
3737
{
@@ -42,7 +42,7 @@ public function testRule(string $file, array $expectedErrors): void
4242

4343
/**
4444
* @dataProvider ruleProvider
45-
* @param mixed[] $expectedErrors
45+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
4646
*/
4747
public function testRuleWithoutObjectManagerLoader(string $file, array $expectedErrors): void
4848
{
@@ -177,7 +177,7 @@ public function ruleProvider(): Iterator
177177

178178
/**
179179
* @dataProvider ruleWithAllowedNullablePropertyProvider
180-
* @param mixed[] $expectedErrors
180+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
181181
*/
182182
public function testRuleWithAllowedNullableProperty(string $file, array $expectedErrors): void
183183
{
@@ -188,7 +188,7 @@ public function testRuleWithAllowedNullableProperty(string $file, array $expecte
188188

189189
/**
190190
* @dataProvider ruleWithAllowedNullablePropertyProvider
191-
* @param mixed[] $expectedErrors
191+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
192192
*/
193193
public function testRuleWithAllowedNullablePropertyWithoutObjectManagerLoader(string $file, array $expectedErrors): void
194194
{

tests/Rules/Properties/MissingGedmoPropertyAssignRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function getAdditionalConfigFiles(): array
3535

3636
/**
3737
* @dataProvider ruleProvider
38-
* @param mixed[] $expectedErrors
38+
* @param list<array{0: string, 1: int, 2?: string}> $expectedErrors
3939
*/
4040
public function testRule(string $file, array $expectedErrors): void
4141
{

0 commit comments

Comments
 (0)