RuntimeDataWriter: fixed doc comment

This commit is contained in:
Dylan K. Taylor
2022-07-14 22:51:12 +01:00
parent 259f44e57c
commit 07786dc4bc

View File

@@ -52,7 +52,7 @@ final class RuntimeDataWriter{
return $this;
}
/** @param int $bits *@return $this */
/** @return $this */
public function writeBoundedInt(int $bits, int $min, int $max, int $value) : self{
if($value < $min || $value > $max){
throw new \InvalidArgumentException("Value $value is outside the range $min - $max");