code: protected function getValueType($value)
      {
          $type = is_object($value) ? get_class($value) : gettype($value);
  
          // use float instead of deprecated double
          return ($type == 'double') ? 'float' : $type;
      }
docs: Get the value type.
  
  @param  mixed  $value
  @return string