diff --git a/.travis.yml b/.travis.yml index 6fef494..6cee8a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,6 @@ php: - 7.1 - 7.2 - 7.3 - - nightly script: - phpize diff --git a/src/collections_methods.c b/src/collections_methods.c index cc68d16..2bb61ef 100644 --- a/src/collections_methods.c +++ b/src/collections_methods.c @@ -26,9 +26,9 @@ #define PAIR_SECOND(obj) OBJ_PROP_NUM(obj, 1) #define IS_COLLECTION(val) \ - Z_TYPE(val) == IS_OBJECT && Z_OBJCE(val) == collections_collection_ce + (Z_TYPE(val) == IS_OBJECT && Z_OBJCE(val) == collections_collection_ce) #define IS_PAIR(val) \ - Z_TYPE(val) == IS_OBJECT && Z_OBJCE(val) == collections_pair_ce + (Z_TYPE(val) == IS_OBJECT && Z_OBJCE(val) == collections_pair_ce) #define SEPARATE_COLLECTION(ht, obj) \ if (GC_REFCOUNT(ht) > 1) { \