Use new helper function for "cannot be empty" ValueErrors

This commit is contained in:
Gina Peter Bnayard 2024-08-18 20:09:08 +02:00 committed by Gina Peter Banyard
parent 96d572a18e
commit e7c4d54d65
40 changed files with 96 additions and 96 deletions

View file

@ -139,7 +139,7 @@ PHP_FUNCTION(mysqli_stmt_bind_param)
MYSQLI_FETCH_RESOURCE_STMT(stmt, mysql_stmt, MYSQLI_STATUS_VALID);
if (!types_len) {
zend_argument_value_error(ERROR_ARG_POS(2), "cannot be empty");
zend_argument_cannot_be_empty_error(ERROR_ARG_POS(2));
RETURN_THROWS();
}