diff options
author | Matt Nowack <mdnowack@gmail.com> | 2012-03-19 15:29:55 -0700 |
---|---|---|
committer | David Soria Parra <dsp@php.net> | 2012-03-20 17:29:04 +0100 |
commit | 76ef76d2f875ccc3c9529565bdb29451a9b087ef (patch) | |
tree | eaee73a212e3eb8a72868cd07a66f88a7089c3b4 /ext/json/json.c | |
parent | 7aa2b75db2efceff502c87c5bcb4db81accf4024 (diff) | |
download | php-git-76ef76d2f875ccc3c9529565bdb29451a9b087ef.tar.gz |
Adding Braces in json.c to conform with coding standards
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index f28f50bd44..5b62c2feea 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; |