Skip to content

Commit a14e4de

Browse files
kamil-tekielanikic
andcommitted
Apply code formatting from code review
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
1 parent 84a3be7 commit a14e4de

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
@@ -823,7 +823,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
823823

824824
// bind-in-execute
825825
#if defined(MYSQLI_USE_MYSQLND)
826-
if(input_params) {
826+
if (input_params) {
827827
zval *tmp;
828828
unsigned int index;
829829
unsigned int hash_num_elements;
@@ -832,7 +832,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
832832

833833
hash_num_elements = zend_hash_num_elements(Z_ARRVAL_P(input_params));
834834
param_count = mysql_stmt_param_count(stmt->stmt);
835-
if(hash_num_elements != param_count) {
835+
if (hash_num_elements != param_count) {
836836
zend_argument_value_error(ERROR_ARG_POS(2), "must consist of exactly %d elements, %d present", param_count, hash_num_elements);
837837
RETURN_THROWS();
838838
}
@@ -850,7 +850,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
850850
index++;
851851
} ZEND_HASH_FOREACH_END();
852852

853-
if(mysqlnd_stmt_bind_param(stmt->stmt, params)) {
853+
if (mysqlnd_stmt_bind_param(stmt->stmt, params)) {
854854
MYSQLI_REPORT_STMT_ERROR(stmt->stmt);
855855
RETVAL_FALSE;
856856
}

0 commit comments

Comments
 (0)