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;