Skip to content

Commit f3718ac

Browse files
committed
format
1 parent 219af9b commit f3718ac

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ext/otel_observer.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ static bool func_has_withspan_attribute(zend_execute_data *ex) {
157157
*/
158158
static bool is_valid_attribute_value(zval *val) {
159159
switch (Z_TYPE_P(val)) {
160-
case IS_STRING:
161-
case IS_LONG: // Numeric (integer)
162-
case IS_DOUBLE: // Numeric (floating point)
163-
case IS_TRUE:
164-
case IS_FALSE: // Boolean
165-
case IS_ARRAY:
166-
return true;
167-
default:
168-
return false;
160+
case IS_STRING:
161+
case IS_LONG: // Numeric (integer)
162+
case IS_DOUBLE: // Numeric (floating point)
163+
case IS_TRUE:
164+
case IS_FALSE: // Boolean
165+
case IS_ARRAY:
166+
return true;
167+
default:
168+
return false;
169169
}
170170
}
171171

0 commit comments

Comments
 (0)