Skip to content

Commit

Permalink
Fix control keyword consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Richardds committed Sep 4, 2021
1 parent 97cbf60 commit e0877e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ECBConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit e0877e6

Please sign in to comment.