/** * @param float $value * @return $this */ public function setValue($value) { if (!is_float($value)) { throw InvalidArgumentException::floatRequired(); } $this->value = $value; return $this; }
/** * @param float $value * @return $this */ public function setValue($value) { if (!is_float($value)) { throw InvalidArgumentException::floatRequired(); } $this->value = $value; return $this; }