Drop the comment on the coercion

This commit is contained in:
harsh mahajan committed 2026-08-13 15:59:52 +05:30
1 parent 79af0f21fc
commit 0d8166264e
1 file changed
-2
-2
View File
@@ -562,8 +562,6 @@ class Response extends SwooleResponse
}
foreach ($data[$key] as $index => $item) {
// Config rows arrive as plain arrays and would ship every key they carry.
// Unions are skipped: only the branch below can pick their model per item.
if (\is_array($item) && !\is_array($rule['type']) && self::hasModel($rule['type'])) {
$item = new Document($item);
}