mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-26 13:19:55 +00:00
Network: added missing return type information for getUpload() and getDownload()
This commit is contained in:
parent
97b6183404
commit
ca86ec2ec2
@ -70,10 +70,16 @@ class Network{
|
|||||||
$this->download += $download;
|
$this->download += $download;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return float
|
||||||
|
*/
|
||||||
public function getUpload(){
|
public function getUpload(){
|
||||||
return $this->upload;
|
return $this->upload;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return float
|
||||||
|
*/
|
||||||
public function getDownload(){
|
public function getDownload(){
|
||||||
return $this->download;
|
return $this->download;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user