From f0716fe086f818bc31ef5e1626c6ec93bba5a291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=BD=C3=A1=C4=8Dek?= Date: Thu, 8 Jan 2026 11:03:58 +0100 Subject: [PATCH] Use notSame instead of notEq for stringNotEmpty --- src/Assert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Assert.php b/src/Assert.php index 31405813..a667b13c 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -65,7 +65,7 @@ public static function string(mixed $value, string $message = ''): string public static function stringNotEmpty(mixed $value, string $message = ''): string { static::string($value, $message); - static::notEq($value, '', $message); + static::notSame($value, '', $message); return $value; }