diff --git a/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php b/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php index 8594f3f37..50cc2120d 100644 --- a/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php +++ b/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php @@ -254,7 +254,7 @@ class BasicEntityPersister public function executeInserts() { if ( ! $this->queuedInserts) { - return; + return array(); } $postInsertIds = array();