Skip to content

Commit de8474e

Browse files
authored
Use notSame instead of notEq for stringNotEmpty (#336)
1 parent 1a44093 commit de8474e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Assert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function string(mixed $value, string $message = ''): string
6565
public static function stringNotEmpty(mixed $value, string $message = ''): string
6666
{
6767
static::string($value, $message);
68-
static::notEq($value, '', $message);
68+
static::notSame($value, '', $message);
6969

7070
return $value;
7171
}

0 commit comments

Comments
 (0)