Fixed: possible unexisting variable

This commit is contained in:
Julien Fastré 2022-07-30 23:07:51 +02:00
parent 58ddf9038d
commit 9b3b9f2552

View File

@ -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