Skip to content

Commit e5526a3

Browse files
authored
Update SerializeContext.php
fix from replace bug
1 parent d085af5 commit e5526a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Support/Context/SerializeContext.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ public function from(mixed ...$payload): object
193193
$values = is_numeric($field) && is_array($itemPayload) ? $itemPayload : [$field => $itemPayload];
194194
$payloads = [...$payloads, ...$values];
195195
}
196-
$payloads = array_unique($payloads);
197196

198197
$this->chooseSerializeContext->setGroups($this->getGroups());
199198

0 commit comments

Comments
 (0)