This commit is contained in:
2020-12-24 11:12:23 +08:00
parent 5a7c7176dc
commit f18031c2c0
18 changed files with 39 additions and 39 deletions
+4 -4
View File
@@ -37,10 +37,10 @@ return [
],
'message' => [
'pack' => function ($data) {
return \Snowflake\Core\JSON::encode($data);
return \Snowflake\Core\Json::encode($data);
},
'unpack' => function ($data) {
return \Snowflake\Core\JSON::decode($data);
return \Snowflake\Core\Json::decode($data);
},
],
'events' => [
@@ -57,10 +57,10 @@ return [
],
'message' => [
'pack' => function ($data) {
return \Snowflake\Core\JSON::encode($data);
return \Snowflake\Core\Json::encode($data);
},
'unpack' => function ($data) {
return \Snowflake\Core\JSON::decode($data);
return \Snowflake\Core\Json::decode($data);
},
],
'events' => [