function Assert::notEq
Parameters
mixed $value:
mixed $expect:
string $message:
Throws
1 call to Assert::notEq()
- Assert::stringNotEmpty in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-pure @psalm-assert non-empty-string $value
File
-
vendor/
webmozart/ assert/ src/ Assert.php, line 792
Class
- Assert
- Efficient assertions to validate the input/output of your methods.
Namespace
Webmozart\AssertCode
public static function notEq($value, $expect, $message = '') {
if ($expect == $value) {
static::reportInvalidArgument(\sprintf($message ?: 'Expected a different value than %s.', static::valueToString($expect)));
}
}