mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Modernize private property declarations in src/network
This commit is contained in:
@ -29,15 +29,10 @@ use function count;
|
||||
|
||||
final class BandwidthStatsTracker{
|
||||
/** @var int[] */
|
||||
private $history;
|
||||
/** @var int */
|
||||
private $nextHistoryIndex = 0;
|
||||
|
||||
/** @var int */
|
||||
private $bytesSinceLastRotation = 0;
|
||||
|
||||
/** @var int */
|
||||
private $totalBytes = 0;
|
||||
private array $history;
|
||||
private int $nextHistoryIndex = 0;
|
||||
private int $bytesSinceLastRotation = 0;
|
||||
private int $totalBytes = 0;
|
||||
|
||||
/** @phpstan-param positive-int $historySize */
|
||||
public function __construct(int $historySize){
|
||||
|
Reference in New Issue
Block a user