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