Commit e73e123d authored by Euan游根明's avatar Euan游根明

perf: 格式代码

parent 460e17b3
...@@ -235,11 +235,7 @@ class Nacos ...@@ -235,11 +235,7 @@ class Nacos
} }
$data = json_decode(file_get_contents($path), true); $data = json_decode(file_get_contents($path), true);
$data[$key] = $value; $data[$key] = $value;
return file_put_contents( return file_put_contents($path, json_encode($data));
$path,
json_encode($data),
);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment