Skip to content

Commit 24bfd61

Browse files
committed
Adjust phpdoc with @var
1 parent 803582c commit 24bfd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tag/ListTag.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function setContentTag(int $contentTagType): static
8383
protected function readValues(Reader $reader, int $length): array
8484
{
8585
$values = [];
86-
/** @var Tag $tagClass */
86+
/** @var class-string<Tag>|null $tagClass */
8787
$tagClass = Tag::getTagClass($this->contentTagType);
8888
if (is_null($tagClass)) {
8989
throw new Exception("Unknown ListTag content type " . $this->contentTagType);

0 commit comments

Comments
 (0)