Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Sep 8, 2024
1 parent 219af9b commit f3718ac
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ext/otel_observer.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ 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_TRUE:
case IS_FALSE: // Boolean
case IS_ARRAY:
return true;
default:
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;
}
}

Expand Down

0 comments on commit f3718ac

Please sign in to comment.