From d2828306fade278b504ac4542e0f52c54e400589 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 16 Sep 2023 00:44:07 +0300 Subject: [PATCH] fix variable name --- src/library/valid.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,