Skip to content

Commit 76ef76d

Browse files
ihumanabledsp
authored andcommitted
Adding Braces in json.c to conform with coding standards
1 parent 7aa2b75 commit 76ef76d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/json/json.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ static int json_determine_array_type(zval **val TSRMLS_DC) /* {{{ */
147147
idx = 0;
148148
for (;; zend_hash_move_forward_ex(myht, &pos)) {
149149
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
150-
if (i == HASH_KEY_NON_EXISTANT)
150+
if (i == HASH_KEY_NON_EXISTANT) {
151151
break;
152+
}
152153

153154
if (i == HASH_KEY_IS_STRING) {
154155
return 1;

0 commit comments

Comments
 (0)