Skip to content

Commit 2117e25

Browse files
author
Kirill Nesmeyanov
committed
Fix some phpstan errors
1 parent 6461517 commit 2117e25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ReflectionReader.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ public function findConstantType(\ReflectionClassConstant $constant): ?TypeState
2222
return null;
2323
}
2424

25-
/** @var \ReflectionType|null $type */
25+
/**
26+
* @var \ReflectionType|null $type
27+
* @phpstan-ignore-next-line : This method available since PHP 8.3
28+
*/
2629
$type = $constant->getType();
2730

2831
if ($type instanceof \ReflectionType) {

0 commit comments

Comments
 (0)