Skip to content

Commit e179d2a

Browse files
no message
1 parent 0d513e3 commit e179d2a

File tree

10 files changed

+44
-14
lines changed

10 files changed

+44
-14
lines changed

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/BigIntArrayTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ public static function provideInvalidPHPValuesForDatabaseTransformation(): array
3333
}
3434

3535
/**
36-
* @return array<int, array{phpValue: int, postgresValue: string}>
36+
* @return list<array{
37+
* phpValue: int,
38+
* postgresValue: string
39+
* }>
3740
*/
3841
public static function provideValidTransformations(): array
3942
{
@@ -76,7 +79,7 @@ public function throws_domain_exception_when_value_exceeds_range(string $outOfRa
7679
}
7780

7881
/**
79-
* @return array<array{string}>
82+
* @return list<array{string}>
8083
*/
8184
public static function provideOutOfRangeValues(): array
8285
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/CidrArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
4848
}
4949

5050
/**
51-
* @return array<string, array{phpValue: array|null, postgresValue: string|null}>
51+
* @return array<string, array{
52+
* phpValue: array|null,
53+
* postgresValue: string|null
54+
* }>
5255
*/
5356
public static function provideValidTransformations(): array
5457
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/DoublePrecisionArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ public static function provideInvalidPHPValuesForDatabaseTransformation(): array
3535
}
3636

3737
/**
38-
* @return array<int, array{phpValue: float, postgresValue: string}>
38+
* @return list<array{
39+
* phpValue: float,
40+
* postgresValue: string
41+
* }>
3942
*/
4043
public static function provideValidTransformations(): array
4144
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/InetArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
4848
}
4949

5050
/**
51-
* @return array<string, array{phpValue: array|null, postgresValue: string|null}>
51+
* @return array<string, array{
52+
* phpValue: array|null,
53+
* postgresValue: string|null
54+
* }>
5255
*/
5356
public static function provideValidTransformations(): array
5457
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/IntegerArrayTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ public static function provideInvalidPHPValuesForDatabaseTransformation(): array
3131
}
3232

3333
/**
34-
* @return array<int, array{phpValue: int, postgresValue: string}>
34+
* @return list<array{
35+
* phpValue: int,
36+
* postgresValue: string
37+
* }>
3538
*/
3639
public static function provideValidTransformations(): array
3740
{
@@ -64,7 +67,7 @@ public static function provideValidTransformations(): array
6467
}
6568

6669
/**
67-
* @return array<array{string}>
70+
* @return list<array{string}>
6871
*/
6972
public static function provideOutOfRangeValues(): array
7073
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/JsonbArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
4949
}
5050

5151
/**
52-
* @return list<array<string, mixed>>
52+
* @return list<array{
53+
* phpValue: array|null,
54+
* postgresValue: string|null
55+
* }>
5356
*/
5457
public static function provideValidTransformations(): array
5558
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/MacaddrArrayTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
4848
}
4949

5050
/**
51-
* @return array<string, array{phpValue: array|null, postgresValue: string|null}>
51+
* @return array<string, array{
52+
* phpValue: array|null,
53+
* postgresValue: string|null
54+
* }>
5255
*/
5356
public static function provideValidTransformations(): array
5457
{
@@ -89,7 +92,7 @@ public function throws_exception_when_invalid_data_provided_to_convert_to_databa
8992
}
9093

9194
/**
92-
* @return array<string, mixed>
95+
* @return array<string, array{mixed}>
9396
*/
9497
public static function provideInvalidPHPValuesForDatabaseTransformation(): array
9598
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/PointArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ public function can_transform_to_php_value(?array $phpValue, ?string $postgresVa
4949
}
5050

5151
/**
52-
* @return array<string, array{phpValue: array<Point>|null, postgresValue: string|null}>
52+
* @return array<string, array{
53+
* phpValue: array<Point>|null,
54+
* postgresValue: string|null
55+
* }>
5356
*/
5457
public static function provideValidTransformations(): array
5558
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/RealArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ public static function provideInvalidPHPValuesForDatabaseTransformation(): array
3535
}
3636

3737
/**
38-
* @return array<int, array{phpValue: float, postgresValue: string}>
38+
* @return list<array{
39+
* phpValue: float,
40+
* postgresValue: string
41+
* }>
3942
*/
4043
public static function provideValidTransformations(): array
4144
{

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/SmallIntArrayTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ public static function provideInvalidPHPValuesForDatabaseTransformation(): array
3131
}
3232

3333
/**
34-
* @return array<int, array{phpValue: int, postgresValue: string}>
34+
* @return list<array{
35+
* phpValue: int,
36+
* postgresValue: string
37+
* }>
3538
*/
3639
public static function provideValidTransformations(): array
3740
{
@@ -64,7 +67,7 @@ public static function provideValidTransformations(): array
6467
}
6568

6669
/**
67-
* @return array<array{string}>
70+
* @return list<array{string}>
6871
*/
6972
public static function provideOutOfRangeValues(): array
7073
{

0 commit comments

Comments
 (0)