We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94479fe commit d934840Copy full SHA for d934840
ext/xmlreader/tests/gh14183.phpt
@@ -6,7 +6,7 @@ xmlreader
6
<?php
7
class MyXMLReader extends XMLReader
8
{
9
- public static function open(string $uri, string $encoding = null, int $flags = 0): bool|\XMLReader
+ public static function open(string $uri, ?string $encoding = null, int $flags = 0): bool|\XMLReader
10
11
echo 'overridden', PHP_EOL;
12
return true;
0 commit comments