Misc return typehints

This commit is contained in:
Dylan K. Taylor
2017-08-30 12:59:26 +01:00
parent 21f09d5fdb
commit 120cf56a47
4 changed files with 4 additions and 4 deletions

View File

@ -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];
}