Skip to content

Commit 6f3fbf1

Browse files
committed
Fix native printer literal phpstan errors
1 parent aab010d commit 6f3fbf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NativeTypePrinter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ protected function printNamedTypeNode(NamedTypeNode $node): string
231231
#[\Override]
232232
protected function printLiteralNode(LiteralNode $node): string
233233
{
234+
/** @var non-empty-string */
234235
return match (true) {
235236
$node instanceof BoolLiteralNode => 'bool',
236237
$node instanceof FloatLiteralNode => 'float',

0 commit comments

Comments
 (0)