Browse Source

fix variable name

main
ghost 1 year ago
parent
commit
d2828306fa
  1. 4
      src/library/valid.php

4
src/library/valid.php

@ -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,

Loading…
Cancel
Save