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:
parent
72022139fa
commit
40bc7cf294
@ -4,7 +4,7 @@ namespace Psalm\Type\Atomic;
|
|||||||
/**
|
/**
|
||||||
* Denotes the `callable-string` type, used to represent an unknown string that is also `callable`.
|
* 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
|
public function getKey(bool $include_extra = true): string
|
||||||
|
Loading…
Reference in New Issue
Block a user