Skip to content

Commit

Permalink
Declare parameter types
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 31, 2024
1 parent f6bc492 commit faa8abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ExporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public static function shortenedRecursiveExportProvider(): array
}

#[DataProvider('exportProvider')]
public function testExport($value, $expected): void
public function testExport(mixed $value, string $expected): void
{
$this->assertStringMatchesFormat(
$expected,
Expand Down Expand Up @@ -375,7 +375,7 @@ public function testExport2(): void
}

#[DataProvider('shortenedExportProvider')]
public function testShortenedExport($value, $expected): void
public function testShortenedExport(mixed $value, string $expected): void
{
$this->assertSame(
$expected,
Expand Down

0 comments on commit faa8abd

Please sign in to comment.