Skip to content

Commit fd5b5c9

Browse files
committed
Update SprintfFunctionDynamicReturnTypeExtension.php
1 parent 8b93038 commit fd5b5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getTypeFromFunctionCall(
8383

8484
if ($matches[2] === 's'
8585
&& $checkArgType->isScalar()->yes()
86-
&& $checkArgType->getFiniteTypes() === []
86+
&& $checkArgType->getFiniteTypes() === [] // constant types will be handled in getConstantType()
8787
) {
8888
$singlePlaceholderEarlyReturn = $checkArgType->toString();
8989
} elseif ($matches[2] !== 's') {

0 commit comments

Comments
 (0)