1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

soap: Fix comment (#20126)

The fallthrough isn't right, but it didn't matter as the loop will
definitely execute the return statement.
This commit is contained in:
Niels Dossche
2025-10-11 18:05:18 +02:00
committed by GitHub
parent 7f65512511
commit e82ed96bd6

View File

@@ -1797,9 +1797,9 @@ static sdlTypePtr model_array_element(sdlContentModelPtr model)
ZEND_HASH_FOREACH_PTR(model->u.content, tmp) {
return model_array_element(tmp);
} ZEND_HASH_FOREACH_END();
break;
}
/* TODO Check this is correct */
ZEND_FALLTHROUGH;
case XSD_CONTENT_GROUP: {
return model_array_element(model->u.group->model);
}