fix variable name

This commit is contained in:
ghost 2023-09-16 00:44:07 +03:00
parent d2cad4833e
commit d2828306fa

View File

@ -256,9 +256,9 @@ class Valid
} }
// Magnet // Magnet
public static function magnet(mixed $data) : bool public static function magnet(mixed $value) : bool
{ {
if (!is_object($data)) if (!is_object($value))
{ {
array_push( array_push(
self::$_error, self::$_error,