Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Oboza <[email protected]>
  • Loading branch information
adamwojs and konradoboza authored Dec 16, 2024
1 parent e1b8b48 commit 9230e25
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
final class DateTimePickerTransformerTest extends TestCase
{
/**
* @dataProvider dataProviderForTransform
* @dataProvider dataProviderForTestTransform
*/
public function testTransform(): void
{
Expand All @@ -29,7 +29,7 @@ public function testTransform(): void
/**
* @return iterable<string, array{mixed, ?int}>
*/
public function dataProviderForTransform(): iterable
public function dataProviderForTestTransform(): iterable
{
yield 'null' => [null, null];
yield 'DateTime' => [new DateTime('2021-01-01 00:00:00'), 1609459200];
Expand All @@ -46,7 +46,7 @@ public function testTransformWithInvalidValue(): void
}

/**
* @dataProvider dataProviderForReverseTransform
* @dataProvider dataProviderForTestReverseTransform
*/
public function testReverseTransform(): void
{
Expand All @@ -58,7 +58,7 @@ public function testReverseTransform(): void
/**
* @return iterable<string, array{?int, ?DateTime}>
*/
public function dataProviderForReverseTransform(): iterable
public function dataProviderForTestReverseTransform(): iterable
{
yield 'null' => [null, null];
yield 'DateTime' => [1609459200, new DateTime('2021-01-01 00:00:00')];
Expand Down

0 comments on commit 9230e25

Please sign in to comment.