From f834c37f8a465ca3e23ee9ae62ef0bc4a525454c Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Sun, 3 Feb 2013 00:48:05 +0000 Subject: [PATCH] Fixed a wrong return type. --- lib/Doctrine/ORM/Persisters/BasicEntityPersister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();