Skip to content

Commit 34b646d

Browse files
committed
Fix PHP 8.4 deprecation
1 parent 44d754a commit 34b646d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ConvertTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static function toUTF16BEDataProvider(): array
186186
}
187187

188188
#[DataProvider('toUTF8DataProvider')]
189-
public function testToUTF8(string $str, mixed $exp, string $enc = null): void
189+
public function testToUTF8(string $str, mixed $exp, ?string $enc = null): void
190190
{
191191
$convert = $this->getTestObject();
192192
$res = $convert->toUTF8($str, $enc);

0 commit comments

Comments
 (0)