Skip to content

Commit 82e81d3

Browse files
committed
Fixup
1 parent 60e9062 commit 82e81d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/sockets/conversions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ static zend_long from_zval_integer_common(const zval *arr_value, ser_context *ct
340340

341341
/* if we get here, we don't have a numeric string */
342342
zend_type_error("Expected an integer, received a non numeric string: '%s'", Z_STRVAL_P(arr_value));
343-
return;
343+
return ret;
344344
}
345345

346346
default:
347347
zend_type_error("Expected an integer");
348-
return;
348+
return ret;
349349
}
350350

351351
zval_ptr_dtor(&lzval);

0 commit comments

Comments
 (0)