protected function getValueTypeDescription($value): string
    {
        if (is_resource($value)) {
            $valueType = get_resource_type($value) . " resource";
        } elseif (is_object($value)) {
            $valueType = get_class($value) . " object";
        } elseif (is_string($value)) {
            $valueType = "string \"{$value}\"";
        } else {
            $valueType = gettype($value);
        }

        return $valueType;
    }
protected function getValueTypeDescription($value): string
    {
        if (is_resource($value)) {
            $valueType = get_resource_type($value) . " resource";
        } elseif (is_object($value)) {
            $valueType = get_class($value) . " object";
        } elseif (is_string($value)) {
            $valueType = "string \"{$value}\"";
        } else {
            $valueType = gettype($value);
        }

        return $valueType;
    }
protected function getValueTypeDescription ( $ value ) : string { if ( is_resource ( $ value ) ) { $ valueType = get_resource_type ( $ value ) . " resource" ; } elseif ( is_object ( $ value ) ) { $ valueType = get_class ( $ value ) . " object" ; } elseif ( is_string ( $ value ) ) { $ valueType = "string \"{$value}\"" ; } else { $ valueType = gettype ( $ value ) ; } return $ valueType ; }
Get a description of the type of the value

@param mixed $value
@return string
Get a description of the type of the value