src/Filter/EqualTo.php
protected function cast($input)
    {
        if ($input instanceof $this->precision) {
            return $input;
        }

        if (class_exists($this->precision)) {
            return new $this->precision($input);
        }

        settype($input, $this->precision);

        return $input;
    }
protected function cast($input)
    {
        if ($input instanceof $this->precision) {
            return $input;
        }

        if (class_exists($this->precision)) {
            return new $this->precision($input);
        }

        settype($input, $this->precision);

        return $input;
    }
@param mixed $input

@return mixed