Skip to content

Commit 9a9f193

Browse files
committed
Fix CallableType's string type assumptions
1 parent 4c4a9bf commit 9a9f193

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Type/CallableType.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,12 @@ public function isNumericString(): TrinaryLogic
316316

317317
public function isNonEmptyString(): TrinaryLogic
318318
{
319-
return TrinaryLogic::createNo();
319+
return TrinaryLogic::createMaybe();
320+
}
321+
322+
public function isLiteralString(): TrinaryLogic
323+
{
324+
return TrinaryLogic::createMaybe();
320325
}
321326

322327
public function isCommonCallable(): bool

0 commit comments

Comments
 (0)