mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 23:15:29 +00:00
RuntimeDataWriter: fixed doc comment
This commit is contained in:
parent
259f44e57c
commit
07786dc4bc
@ -52,7 +52,7 @@ final class RuntimeDataWriter{
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param int $bits *@return $this */
|
/** @return $this */
|
||||||
public function writeBoundedInt(int $bits, int $min, int $max, int $value) : self{
|
public function writeBoundedInt(int $bits, int $min, int $max, int $value) : self{
|
||||||
if($value < $min || $value > $max){
|
if($value < $min || $value > $max){
|
||||||
throw new \InvalidArgumentException("Value $value is outside the range $min - $max");
|
throw new \InvalidArgumentException("Value $value is outside the range $min - $max");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user