diff --git a/src/library/valid.php b/src/library/valid.php index 971af06..25f4932 100644 --- a/src/library/valid.php +++ b/src/library/valid.php @@ -256,9 +256,9 @@ class Valid } // 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( self::$_error,