/**
 * Remove a state by value name.
 *
 * @param   integer  $value  Remove state by this value.
 *
 * @return  static  Return to support chaining.
 *
 * @since   4.0.0
 */
public function removeState(int $value) : self
{
    if (isset($this->states[$value])) {
        unset($this->states[$value]);
    }
    return $this;
}