lib/Doctrine/KeyValueStore/Storage/AzureSdkTableStorage.php
private function getPropertyType($propertyValue)
    {
        if ($propertyValue instanceof \DateTime) {
            return EdmType::DATETIME;
        } elseif (is_float($propertyValue)) {
            return EdmType::DOUBLE;
        } elseif (is_int($propertyValue)) {
            return EdmType::INT32;
        } elseif (is_bool($propertyValue)) {
            return EdmType::BOOLEAN;
        }

        return EdmType::STRING;
    }
private function getPropertyType($propertyValue)
    {
        if ($propertyValue instanceof \DateTime) {
            return EdmType::DATETIME;
        } elseif (is_float($propertyValue)) {
            return EdmType::DOUBLE;
        } elseif (is_int($propertyValue)) {
            return EdmType::INT32;
        } elseif (is_bool($propertyValue)) {
            return EdmType::BOOLEAN;
        }

        return EdmType::STRING;
    }
private function getPropertyType ( $ propertyValue ) { if ( $ propertyValue instanceof \ DateTime ) { return EdmType :: DATETIME ; } elseif ( is_float ( $ propertyValue ) ) { return EdmType :: DOUBLE ; } elseif ( is_int ( $ propertyValue ) ) { return EdmType :: INT32 ; } elseif ( is_bool ( $ propertyValue ) ) { return EdmType :: BOOLEAN ; } return EdmType :: STRING ; }
Infer the property type of variables.
Infer the property type of variables .