Skip to content

Commit 735c9bc

Browse files
authored
Update Server.php
1 parent e7af688 commit 735c9bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Server.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ public function onApiClientMessage($connection, Request $request)
690690
$user_id_array[] = array('id' => $id);
691691
}
692692

693-
$connection->send(json_encode($user_id_array), JSON_UNESCAPED_UNICODE);
693+
$connection->send(json_encode($user_id_array, JSON_UNESCAPED_UNICODE));
694694
}
695695
// info
696696
$info = explode(',', $request->get('info', ''));
@@ -710,7 +710,7 @@ public function onApiClientMessage($connection, Request $request)
710710
break;
711711
}
712712
}
713-
$connection->send(json_encode($channel_info), JSON_UNESCAPED_UNICODE);
713+
$connection->send(json_encode($channel_info, JSON_UNESCAPED_UNICODE));
714714
break;
715715
default:
716716
return $connection->send(new Response(400, [], 'Bad Request'));
@@ -815,7 +815,7 @@ protected function webHookSend($data)
815815
$this->sendHttpRequest($this->appInfo[$app_key]['user_hook'],
816816
$app_key,
817817
$this->appInfo[$app_key]['app_secret'],
818-
json_encode($http_events_body), JSON_UNESCAPED_UNICODE);
818+
json_encode($http_events_body, JSON_UNESCAPED_UNICODE));
819819
}
820820
}
821821

@@ -849,7 +849,7 @@ protected function webHookSend($data)
849849
$this->sendHttpRequest($this->appInfo[$app_key]['channel_hook'],
850850
$app_key,
851851
$this->appInfo[$app_key]['app_secret'],
852-
json_encode($http_events_body), JSON_UNESCAPED_UNICODE);
852+
json_encode($http_events_body, JSON_UNESCAPED_UNICODE));
853853
}
854854
}
855855
}

0 commit comments

Comments
 (0)