From a1d0c71f10d03e0b9e3ec57b3af7c0aff9bbbb63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Thu, 1 Apr 2021 09:47:51 +0800 Subject: [PATCH] add deprecated to `getClientCallbackTimeout()` --- src/socketio-server/src/SocketIO.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/socketio-server/src/SocketIO.php b/src/socketio-server/src/SocketIO.php index a75e4068f..5e92eb525 100644 --- a/src/socketio-server/src/SocketIO.php +++ b/src/socketio-server/src/SocketIO.php @@ -324,6 +324,9 @@ class SocketIO implements OnMessageInterface, OnOpenInterface, OnCloseInterface return $this; } + /** + * @deprecated use SocketIOConfig::getClientCallbackTimeout() instead + */ private function getClientCallbackTimeout(): int { if ($this->clientCallbackTimeout !== 10000) {