and more typehints

This commit is contained in:
Dylan K. Taylor
2017-07-14 10:56:51 +01:00
parent b9355387da
commit c3b8be3f60
119 changed files with 598 additions and 541 deletions

View File

@ -47,7 +47,7 @@ class EnchantTable extends Spawnable implements Nameable{
$this->namedtag->CustomName = new StringTag("CustomName", $str);
}
public function getSpawnCompound(){
public function getSpawnCompound() : CompoundTag{
$c = new CompoundTag("", [
new StringTag("id", Tile::ENCHANT_TABLE),
new IntTag("x", (int) $this->x),