just simplify it to `if (is_string($value)) return $this->raw($value);`