Skip to content

Commit 57cab68

Browse files
committed
chore: autofix code style
1 parent 2803e43 commit 57cab68

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/unit/MultipleIterableAggregateTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
final class MultipleIterableAggregateTest extends TestCase
2424
{
25-
public static function basicProvider()
25+
public static function provideBasicCases(): iterable
2626
{
2727
$generator = static function () {
2828
yield from range('a', 'c');
@@ -52,7 +52,7 @@ public static function basicProvider()
5252
];
5353
}
5454

55-
public static function basicWithFlagsProvider()
55+
public static function provideFlagsCases(): iterable
5656
{
5757
yield [
5858
[range('a', 'c'), range('d', 'e')],
@@ -90,7 +90,7 @@ public static function basicWithFlagsProvider()
9090
}
9191

9292
/**
93-
* @dataProvider basicProvider
93+
* @dataProvider provideBasicCases
9494
*/
9595
public function testBasic(array $iterables, array $expected): void
9696
{
@@ -102,7 +102,7 @@ public function testBasic(array $iterables, array $expected): void
102102
}
103103

104104
/**
105-
* @dataProvider basicWithFlagsProvider
105+
* @dataProvider provideFlagsCases
106106
*/
107107
public function testFlags(array $iterables, int $flags, array $expected): void
108108
{

tests/unit/StringIteratorAggregateTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
final class StringIteratorAggregateTest extends TestCase
2121
{
22-
public static function stringIteratorAggregateProvider()
22+
public static function provideBasicCases(): iterable
2323
{
2424
yield [
2525
'hello world',
@@ -51,7 +51,7 @@ public static function stringIteratorAggregateProvider()
5151
}
5252

5353
/**
54-
* @dataProvider stringIteratorAggregateProvider
54+
* @dataProvider provideBasicCases
5555
*/
5656
public function testBasic(string $input, string $delimiter, mixed $expected)
5757
{

0 commit comments

Comments
 (0)