We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219af9b commit f3718acCopy full SHA for f3718ac
ext/otel_observer.c
@@ -157,15 +157,15 @@ static bool func_has_withspan_attribute(zend_execute_data *ex) {
157
*/
158
static bool is_valid_attribute_value(zval *val) {
159
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;
+ case IS_STRING:
+ case IS_LONG: // Numeric (integer)
+ case IS_DOUBLE: // Numeric (floating point)
+ case IS_TRUE:
+ case IS_FALSE: // Boolean
+ case IS_ARRAY:
+ return true;
+ default:
+ return false;
169
}
170
171
0 commit comments