Added missing getter override for LongTag

adds a return typehint
This commit is contained in:
Dylan K. Taylor 2017-10-14 11:34:41 +01:00
parent b524b841c5
commit 489b9fc29b

View File

@ -50,4 +50,11 @@ class LongTag extends NamedTag{
public function write(NBT $nbt, bool $network = false){
$nbt->putLong($this->value, $network);
}
/**
* @return int
*/
public function &getValue() : int{
return parent::getValue();
}
}