Skip to content

Commit

Permalink
Merge pull request #6521 from orklah/callable-non-falsy
Browse files Browse the repository at this point in the history
TCallableString is non-falsy (0 can't be a functionlike name)
  • Loading branch information
orklah committed Jan 14, 2022
2 parents 0ded59d + e5b8a6e commit 9ac77e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Type/Atomic/TCallableString.php
Expand Up @@ -5,7 +5,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 9ac77e9

Please sign in to comment.