- saveAll() now also supports arrays

This commit is contained in:
Dave Mc Nicoll committed 2023-05-12 18:56:59 +00:00
1 parent bd61522a07
commit a4743b471c
1 file changed
+1 -1
+1 -1
View File
@@ -200,7 +200,7 @@ class Repository
return false;
}
public function saveAll(EntityCollection $collection) : int
public function saveAll(EntityCollection|array $collection) : int
{
$changed = 0;