From 76ef76d2f875ccc3c9529565bdb29451a9b087ef Mon Sep 17 00:00:00 2001 From: Matt Nowack Date: Mon, 19 Mar 2012 15:29:55 -0700 Subject: [PATCH] Adding Braces in json.c to conform with coding standards --- ext/json/json.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/json/json.c b/ext/json/json.c index f28f50bd440..5b62c2feeaf 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -147,8 +147,9 @@ static int json_determine_array_type(zval **val TSRMLS_DC) /* {{{ */ idx = 0; for (;; zend_hash_move_forward_ex(myht, &pos)) { i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos); - if (i == HASH_KEY_NON_EXISTANT) + if (i == HASH_KEY_NON_EXISTANT) { break; + } if (i == HASH_KEY_IS_STRING) { return 1;