From 6b7563d8ea645e431a179d90f92534f958162e02 Mon Sep 17 00:00:00 2001 From: yefengeeeeeeeeeee <403749250@qq.com> Date: Wed, 23 Apr 2025 20:44:45 +0800 Subject: [PATCH] Seem Fix Type Error blame yefeng moment --- src/network/PacketPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/PacketPool.php b/src/network/PacketPool.php index b0f820ba..5dc4fb61 100644 --- a/src/network/PacketPool.php +++ b/src/network/PacketPool.php @@ -25,7 +25,7 @@ class PacketPool{ } } - public static function getPacket(int $pid, int $protocol) : RakNetDataPacket{ + public static function getPacket($pid, $protocol) : RakNetDataPacket{ if(isset(self::$packetPool[$protocol][$pid])) { return clone self::$packetPool[$protocol][$pid]; }