From 8f15c5e90566a43a3414240b65b3edb9c5f8cc7d Mon Sep 17 00:00:00 2001 From: Martin Prebio Date: Wed, 31 Dec 2014 01:28:05 +0100 Subject: [PATCH] Consistent return type confirming with interface --- lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php index 893a3e31e..fc90d6cad 100644 --- a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php +++ b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php @@ -127,7 +127,7 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister public function executeInserts() { if ( ! $this->queuedInserts) { - return; + return array(); } $postInsertIds = array();