Skip to content

Commit 3c018ce

Browse files
committed
fix WS
1 parent c1e5b13 commit 3c018ce

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

Zend/zend_hash.c

+27-27
Original file line numberDiff line numberDiff line change
@@ -1193,28 +1193,28 @@ ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const
11931193
if (q == p) {
11941194
found = 1;
11951195
} else if (!q->nKeyLength && q->h == num_index) {
1196-
if (found) {
1197-
if (mode & HASH_UPDATE_KEY_IF_BEFORE) {
1198-
break;
1199-
} else {
1200-
if (p->nKeyLength) {
1196+
if (found) {
1197+
if (mode & HASH_UPDATE_KEY_IF_BEFORE) {
1198+
break;
1199+
} else {
1200+
if (p->nKeyLength) {
12011201
zend_hash_del(ht, p->arKey, p->nKeyLength);
12021202
} else {
12031203
zend_hash_index_del(ht, p->h);
12041204
}
1205-
return FAILURE;
1206-
}
1207-
} else {
1208-
if (mode & HASH_UPDATE_KEY_IF_AFTER) {
1209-
break;
1210-
} else {
1211-
if (p->nKeyLength) {
1205+
return FAILURE;
1206+
}
1207+
} else {
1208+
if (mode & HASH_UPDATE_KEY_IF_AFTER) {
1209+
break;
1210+
} else {
1211+
if (p->nKeyLength) {
12121212
zend_hash_del(ht, p->arKey, p->nKeyLength);
12131213
} else {
12141214
zend_hash_index_del(ht, p->h);
12151215
}
1216-
return FAILURE;
1217-
}
1216+
return FAILURE;
1217+
}
12181218
}
12191219
}
12201220
q = q->pNext;
@@ -1239,27 +1239,27 @@ ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const
12391239
} else if (q->h == h && q->nKeyLength == str_length &&
12401240
memcmp(q->arKey, str_index, str_length) == 0) {
12411241
if (found) {
1242-
if (mode & HASH_UPDATE_KEY_IF_BEFORE) {
1243-
break;
1244-
} else {
1245-
if (p->nKeyLength) {
1242+
if (mode & HASH_UPDATE_KEY_IF_BEFORE) {
1243+
break;
1244+
} else {
1245+
if (p->nKeyLength) {
12461246
zend_hash_del(ht, p->arKey, p->nKeyLength);
12471247
} else {
12481248
zend_hash_index_del(ht, p->h);
12491249
}
1250-
return FAILURE;
1251-
}
1252-
} else {
1253-
if (mode & HASH_UPDATE_KEY_IF_AFTER) {
1254-
break;
1255-
} else {
1256-
if (p->nKeyLength) {
1250+
return FAILURE;
1251+
}
1252+
} else {
1253+
if (mode & HASH_UPDATE_KEY_IF_AFTER) {
1254+
break;
1255+
} else {
1256+
if (p->nKeyLength) {
12571257
zend_hash_del(ht, p->arKey, p->nKeyLength);
12581258
} else {
12591259
zend_hash_index_del(ht, p->h);
12601260
}
1261-
return FAILURE;
1262-
}
1261+
return FAILURE;
1262+
}
12631263
}
12641264
}
12651265
q = q->pNext;

0 commit comments

Comments
 (0)