This commit is contained in:
Dylan K. Taylor
2025-09-15 19:12:14 +01:00
parent 6dc95b944c
commit c7d178a4e2

View File

@@ -198,16 +198,8 @@ class NetworkSession{
*/
private ObjectSet $disposeHooks;
/**
* @var string[]
* @phpstan-var array<int, string>
*/
private array $repeatedPacketFilters = [];
/**
* @var int[]
* @phpstan-var array<int, int>
*/
private array $repeatedPacketFilterStats = [];
private string $noisyPacketBuffer = "";
private int $noisyPacketsDropped = 0;
public function __construct(
private Server $server,
@@ -496,9 +488,6 @@ class NetworkSession{
}
}
private string $noisyPacketBuffer = "";
private int $noisyPacketsDropped = 0;
/**
* @throws PacketHandlingException
*/