From 2cf948192cd6bd2fd942f3e992c25bb098aa7845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 9 Dec 2016 20:35:26 +0100 Subject: [PATCH] fix error with empty yield --- Export/ExportManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Export/ExportManager.php b/Export/ExportManager.php index 3a5e15afc..85c2b4280 100644 --- a/Export/ExportManager.php +++ b/Export/ExportManager.php @@ -379,7 +379,8 @@ class ExportManager public function &getAggregatorsApplyingOn(ExportInterface $export, array $centers = null) { if ($export instanceof ListInterface) { - return array(); + + return; } foreach ($this->aggregators as $alias => $aggregator) {