mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Drop the comment on the coercion
This commit is contained in:
1 parent
79af0f21fc
commit
0d8166264e
1 file changed
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user