mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Misc return typehints
This commit is contained in:
@ -3734,7 +3734,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getWindowId(Inventory $inventory){
|
||||
public function getWindowId(Inventory $inventory) : int{
|
||||
if($this->windows->contains($inventory)){
|
||||
return $this->windows[$inventory];
|
||||
}
|
||||
|
Reference in New Issue
Block a user