From 9b3b9f2552a67f170591c353020b2449b7409113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 30 Jul 2022 23:07:51 +0200 Subject: [PATCH] Fixed: possible unexisting variable --- .../ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php b/src/Bundle/ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php index a49bb10a4..26a52c840 100644 --- a/src/Bundle/ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php +++ b/src/Bundle/ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php @@ -73,7 +73,7 @@ class PostalCodeFRFromOpenData $this->baseImporter->finalize(); fclose($tmpfile); - $this->logger->info(__CLASS__ . ' postal code fetched', ['offset' => $offset]); + $this->logger->info(__CLASS__ . ' postal code fetched', ['offset' => $offset ?? 0]); } private function handleRecord(array $record): void