RuntimeDataWriter: fixed doc comment

This commit is contained in:
Dylan K. Taylor 2022-07-14 22:51:12 +01:00
parent 259f44e57c
commit 07786dc4bc
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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");