diff --git a/ext/otel_observer.c b/ext/otel_observer.c index 080db36..ff24b93 100644 --- a/ext/otel_observer.c +++ b/ext/otel_observer.c @@ -158,10 +158,10 @@ static bool func_has_withspan_attribute(zend_execute_data *ex) { static bool is_valid_attribute_value(zval *val) { switch (Z_TYPE_P(val)) { case IS_STRING: - case IS_LONG: // Numeric (integer) - case IS_DOUBLE: // Numeric (floating point) + case IS_LONG: + case IS_DOUBLE: case IS_TRUE: - case IS_FALSE: // Boolean + case IS_FALSE: case IS_ARRAY: return true; default: