1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

callable-string is always a non-empty-string (#5741)

This commit is contained in:
Daniil Gentili 2021-05-10 17:47:32 +02:00 committed by GitHub
parent 72022139fa
commit 40bc7cf294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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