Skip to content

Commit

Permalink
TCallableString is non-falsy (0 can't be a functionlike name)
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Sep 22, 2021
1 parent 9b58871 commit e5b8a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Atomic/TCallableString.php
Expand Up @@ -4,7 +4,7 @@
/**
* Denotes the `callable-string` type, used to represent an unknown string that is also `callable`.
*/
class TCallableString extends TNonEmptyString
class TCallableString extends TNonFalsyString
{

public function getKey(bool $include_extra = true): string
Expand Down

0 comments on commit e5b8a6e

Please sign in to comment.