Declare parameter types

This commit is contained in:
Sebastian Bergmann 2024-03-31 09:04:55 +02:00
parent f6bc492db0
commit faa8abd384
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ EOF
}
#[DataProvider('exportProvider')]
public function testExport($value, $expected): void
public function testExport(mixed $value, string $expected): void
{
$this->assertStringMatchesFormat(
$expected,
@ -375,7 +375,7 @@ EOF;
}
#[DataProvider('shortenedExportProvider')]
public function testShortenedExport($value, $expected): void
public function testShortenedExport(mixed $value, string $expected): void
{
$this->assertSame(
$expected,