From a0eb46cf4e036bc7ccdf2e008fbbe6580158deb1 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 23 Sep 2024 16:16:01 +0800 Subject: [PATCH] eee --- function.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }