From e0877e691de3d2a72cfa309f782fa8c0ab0c75c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Boldi=C5=A1?= Date: Sat, 4 Sep 2021 14:17:40 +0200 Subject: [PATCH] Fix control keyword consistency --- src/ECBConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ECBConverter.php b/src/ECBConverter.php index fa684c4..a474a69 100644 --- a/src/ECBConverter.php +++ b/src/ECBConverter.php @@ -43,7 +43,7 @@ public function checkFileCache(): void if (!file_exists($this->cache_file) || time() - filemtime($this->cache_file) > $this->cache_timeout) { $this->reloadExchangeReferences(); file_put_contents($this->cache_file, serialize($this->exchange_data), LOCK_EX); - } else if (is_null($this->exchange_data)) { + } elseif (is_null($this->exchange_data)) { $this->exchange_data = unserialize(file_get_contents($this->cache_file)); } }