diff --git a/src/Var/functions.php b/src/Var/functions.php index dcdc495..7387206 100644 --- a/src/Var/functions.php +++ b/src/Var/functions.php @@ -78,7 +78,7 @@ function is_negative_int(mixed $value): bool */ function is_non_empty_string(mixed $value): bool { - return ! empty($value) && is_string($value); + return is_string($value) && $value !== ''; } /**