mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Modernize private property declarations in src/network
This commit is contained in:
@ -37,18 +37,13 @@ class EncryptionContext{
|
||||
/** @var bool */
|
||||
public static $ENABLED = true;
|
||||
|
||||
/** @var string */
|
||||
private $key;
|
||||
private string $key;
|
||||
|
||||
/** @var Cipher */
|
||||
private $decryptCipher;
|
||||
private Cipher $decryptCipher;
|
||||
private int $decryptCounter = 0;
|
||||
|
||||
/** @var int */
|
||||
private $decryptCounter = 0;
|
||||
/** @var Cipher */
|
||||
private $encryptCipher;
|
||||
/** @var int */
|
||||
private $encryptCounter = 0;
|
||||
private Cipher $encryptCipher;
|
||||
private int $encryptCounter = 0;
|
||||
|
||||
public function __construct(string $encryptionKey, string $algorithm, string $iv){
|
||||
$this->key = $encryptionKey;
|
||||
|
Reference in New Issue
Block a user