From 84fe4f6b40f54295b2e0a2a39f0c332a75540eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Badet=20Aur=C3=A9lien?= Date: Wed, 30 Nov 2016 18:31:04 +0100 Subject: [PATCH] rename $cachable to $cached in setDatas() --- lib/BridgeAbstract.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 76dead53..f7aa9e79 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -155,10 +155,10 @@ abstract class BridgeAbstract implements BridgeInterface { if($time !== false && (time() - static::CACHE_TIMEOUT < $time) && (!defined('DEBUG') || DEBUG !== true)){ - $cachable = array(); - $cachable = $this->cache->loadData(); - $this->items = $cachable["items"]; - $this->extraInfos = $cachable["extraInfos"]; + $cached = array(); + $cached = $this->cache->loadData(); + $this->items = $cached["items"]; + $this->extraInfos = $cached["extraInfos"]; return; } }