Skip to content

Commit

Permalink
fixed: api-server root middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Jul 12, 2024
1 parent 4224432 commit 1b19acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PushServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function (TcpConnection $connection, string $header) use ($socketId) {
*/
public function onMessage(TcpConnection $connection, $data): void
{
$handler = function (TcpConnection $connection, $data) {
$handler = function ($connection, $data) {
if (is_string($data)) {
static::setRecvBytesStatistics($connection, $data);
if ($data = @json_decode($data, true)) {
Expand Down

0 comments on commit 1b19acd

Please sign in to comment.