We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 862406e + 399cb5c commit 602bc55Copy full SHA for 602bc55
src/Tag/Tag.php
@@ -292,7 +292,7 @@ public static function getTagClass(int $type): ?string
292
* @return Tag
293
* @throws Exception
294
*/
295
- public static function load(Reader $reader, ?TagOptions $options = null, Tag $parent = null): Tag
+ public static function load(Reader $reader, ?TagOptions $options = null, ?Tag $parent = null): Tag
296
{
297
if($options === null) {
298
$options = new TagOptions();
0 commit comments