Skip to content

Commit d934840

Browse files
committed
Fix deprecation warning
1 parent 94479fe commit d934840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/xmlreader/tests/gh14183.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ xmlreader
66
<?php
77
class MyXMLReader extends XMLReader
88
{
9-
public static function open(string $uri, string $encoding = null, int $flags = 0): bool|\XMLReader
9+
public static function open(string $uri, ?string $encoding = null, int $flags = 0): bool|\XMLReader
1010
{
1111
echo 'overridden', PHP_EOL;
1212
return true;

0 commit comments

Comments
 (0)