mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Some inspection fixes
This commit is contained in:
@ -28,9 +28,15 @@ namespace pocketmine\utils;
|
||||
* Manages PocketMine-MP version strings, and compares them
|
||||
*/
|
||||
class VersionString{
|
||||
/** @var int */
|
||||
private $generation;
|
||||
/** @var int */
|
||||
private $major;
|
||||
private $build;
|
||||
/** @var int */
|
||||
private $minor;
|
||||
/** @var int */
|
||||
private $build;
|
||||
/** @var bool */
|
||||
private $development = false;
|
||||
|
||||
/**
|
||||
@ -58,7 +64,7 @@ class VersionString{
|
||||
}
|
||||
|
||||
public function getNumber() : int{
|
||||
return (int) (($this->generation << 9) + ($this->major << 5) + $this->minor);
|
||||
return (($this->generation << 9) + ($this->major << 5) + $this->minor);
|
||||
}
|
||||
|
||||
public function getGeneration() : int{
|
||||
|
Reference in New Issue
Block a user