From 40bc7cf2941c41d4371b80c396bb0d005031c781 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 10 May 2021 17:47:32 +0200 Subject: [PATCH] callable-string is always a non-empty-string (#5741) --- src/Psalm/Type/Atomic/TCallableString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Type/Atomic/TCallableString.php b/src/Psalm/Type/Atomic/TCallableString.php index 16b87150f..25b1edb0d 100644 --- a/src/Psalm/Type/Atomic/TCallableString.php +++ b/src/Psalm/Type/Atomic/TCallableString.php @@ -4,7 +4,7 @@ namespace Psalm\Type\Atomic; /** * Denotes the `callable-string` type, used to represent an unknown string that is also `callable`. */ -class TCallableString extends TString +class TCallableString extends TNonEmptyString { public function getKey(bool $include_extra = true): string