We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 572f4c3 commit 57cf7a8Copy full SHA for 57cf7a8
1 file changed
src/DTO/FieldDTOCollection.php
@@ -16,7 +16,7 @@ public static function makeFromArray(array $fields): self
16
} else {
17
$v = FieldDTO::makeFromObject($field);
18
}
19
- $collection->add($v);
+ $collection->push($v);
20
21
return $collection;
22
0 commit comments