From debe6903a6e834683164d25eb9cc7079547cd123 Mon Sep 17 00:00:00 2001 From: a6a2f5842 Date: Thu, 8 May 2025 18:01:39 +0200 Subject: [PATCH] BF mock wrong return type --- src/Websocket/MockConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Websocket/MockConnection.php b/src/Websocket/MockConnection.php index 70ac227..06fee93 100644 --- a/src/Websocket/MockConnection.php +++ b/src/Websocket/MockConnection.php @@ -54,7 +54,7 @@ class MockConnection extends Connection implements \Ratchet\ConnectionInterface Log::error('[MockConnection] Send for pid: ' . getmypid() . ' which is already completed and does not check for new data', [ 'data' => $data, ]); - return false; + return $this; } Log::channel('websocket')->info('[MockConnection] Send for pid: ' . getmypid(), [