From a4743b471c2cd4ca9234133d86759d31b0e2c9a0 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Fri, 12 May 2023 18:56:59 +0000 Subject: [PATCH] - saveAll() now also supports arrays --- src/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository.php b/src/Repository.php index b0ec358..13a6ae2 100644 --- a/src/Repository.php +++ b/src/Repository.php @@ -200,7 +200,7 @@ class Repository return false; } - public function saveAll(EntityCollection $collection) : int + public function saveAll(EntityCollection|array $collection) : int { $changed = 0;