mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
and more typehints
This commit is contained in:
@ -28,7 +28,7 @@ class ResourcePackInfoEntry{
|
||||
protected $version;
|
||||
protected $packSize;
|
||||
|
||||
public function __construct(string $packId, string $version, $packSize = 0){
|
||||
public function __construct(string $packId, string $version, int $packSize = 0){
|
||||
$this->packId = $packId;
|
||||
$this->version = $version;
|
||||
$this->packSize = $packSize;
|
||||
@ -42,7 +42,7 @@ class ResourcePackInfoEntry{
|
||||
return $this->version;
|
||||
}
|
||||
|
||||
public function getPackSize(){
|
||||
public function getPackSize() : int{
|
||||
return $this->packSize;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user