From f87e8e9a19c284b8ed4c3f6e961322b39e29e348 Mon Sep 17 00:00:00 2001
From: Bertrand Gauthier <bertrand.gauthier@unicaen.fr>
Date: Thu, 4 Jul 2019 13:58:15 +0200
Subject: [PATCH] =?UTF-8?q?Utilisation=20de=20yield=20pour=20am=C3=A9liore?=
 =?UTF-8?q?r=20les=20logs=20de=20la=20g=C3=A9n=C3=A9ration=20des=20scripts?=
 =?UTF-8?q?=20d'INSERT.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/UnicaenOracle/Service/DataService.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/UnicaenOracle/Service/DataService.php b/src/UnicaenOracle/Service/DataService.php
index 69e449c..d4ab167 100644
--- a/src/UnicaenOracle/Service/DataService.php
+++ b/src/UnicaenOracle/Service/DataService.php
@@ -66,6 +66,8 @@ class DataService
             }
             fclose($fh);
             $outputFilePaths[] = $outputFilePath;
+
+            yield $outputFilePath;
         }
         sort($outputFilePaths);
 
-- 
GitLab