Skip to content

Commit

Permalink
Fix CallableType's string type assumptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 24, 2021
1 parent 4c4a9bf commit 9a9f193
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Type/CallableType.php
Expand Up @@ -316,7 +316,12 @@ public function isNumericString(): TrinaryLogic

public function isNonEmptyString(): TrinaryLogic
{
return TrinaryLogic::createNo();
return TrinaryLogic::createMaybe();
}

public function isLiteralString(): TrinaryLogic
{
return TrinaryLogic::createMaybe();
}

public function isCommonCallable(): bool
Expand Down

0 comments on commit 9a9f193

Please sign in to comment.