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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user