From 8189409bd41d4782968ed9a9039b2f55cd634d0d Mon Sep 17 00:00:00 2001 From: orklah Date: Fri, 23 Jul 2021 21:41:31 +0200 Subject: [PATCH] refine documentation --- src/Psalm/Type/Atomic/TNonEmptyString.php | 2 +- src/Psalm/Type/Atomic/TNonFalsyString.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Psalm/Type/Atomic/TNonEmptyString.php b/src/Psalm/Type/Atomic/TNonEmptyString.php index 0b599a54da9..677a9d2be60 100644 --- a/src/Psalm/Type/Atomic/TNonEmptyString.php +++ b/src/Psalm/Type/Atomic/TNonEmptyString.php @@ -2,7 +2,7 @@ namespace Psalm\Type\Atomic; /** - * Denotes a string, that is also non-empty + * Denotes a string, that is also non-empty (every string except '') */ class TNonEmptyString extends TString { diff --git a/src/Psalm/Type/Atomic/TNonFalsyString.php b/src/Psalm/Type/Atomic/TNonFalsyString.php index daa49dece21..0b21eb9926c 100644 --- a/src/Psalm/Type/Atomic/TNonFalsyString.php +++ b/src/Psalm/Type/Atomic/TNonFalsyString.php @@ -2,7 +2,7 @@ namespace Psalm\Type\Atomic; /** - * Denotes a string, that is also non-empty + * Denotes a string, that is also non-falsy (every string except '' and '0') */ class TNonFalsyString extends TNonEmptyString {