Skip to content

Commit 002f56b

Browse files
kamil-tekielanikic
andauthored
Apply code formatting from code review
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
1 parent 6c691e1 commit 002f56b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/mysqli/mysqli_api.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
831831

832832
// bind-in-execute
833833
#if defined(MYSQLI_USE_MYSQLND)
834-
if(input_params) {
834+
if (input_params) {
835835
zval *tmp;
836836
unsigned int index;
837837
unsigned int hash_num_elements;
@@ -840,7 +840,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
840840

841841
hash_num_elements = zend_hash_num_elements(Z_ARRVAL_P(input_params));
842842
param_count = mysql_stmt_param_count(stmt->stmt);
843-
if(hash_num_elements != param_count) {
843+
if (hash_num_elements != param_count) {
844844
zend_argument_value_error(ERROR_ARG_POS(2), "must consist of exactly %d elements, %d present", param_count, hash_num_elements);
845845
RETURN_THROWS();
846846
}
@@ -858,7 +858,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
858858
index++;
859859
} ZEND_HASH_FOREACH_END();
860860

861-
if(mysqlnd_stmt_bind_param(stmt->stmt, params)) {
861+
if (mysqlnd_stmt_bind_param(stmt->stmt, params)) {
862862
MYSQLI_REPORT_STMT_ERROR(stmt->stmt);
863863
RETVAL_FALSE;
864864
}

0 commit comments

Comments
 (0)