diff --git a/function.php b/function.php index b0b41fd0..f9b16e70 100644 --- a/function.php +++ b/function.php @@ -28,14 +28,14 @@ interface Arrayable } -if (!function_exists('json_validator')) { +if (!function_exists('json_validate')) { /** * @param string $data * @return bool */ - function json_validator(string $data): bool + function json_validate(string $data): bool { return is_array(json_decode($data, true)); }