mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 01:55:21 +02:00
Improve Factory variable names (#2895)
This commit is contained in:
parent
e3dad86bca
commit
d107f8ed30
18 changed files with 59 additions and 59 deletions
|
@ -503,9 +503,9 @@ EOD;
|
|||
//This function takes 2 requests, and therefore is cached
|
||||
private function getApiKey($forceNew = 0)
|
||||
{
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$r_cache = $cacheFac->create();
|
||||
$r_cache = $cacheFactory->create();
|
||||
$r_cache->setScope(get_called_class());
|
||||
$r_cache->setKey(['refresh']);
|
||||
$data = $r_cache->loadData();
|
||||
|
@ -518,9 +518,9 @@ EOD;
|
|||
$refresh = $data;
|
||||
}
|
||||
|
||||
$cacheFac = new CacheFactory();
|
||||
$cacheFactory = new CacheFactory();
|
||||
|
||||
$cache = $cacheFac->create();
|
||||
$cache = $cacheFactory->create();
|
||||
$cache->setScope(get_called_class());
|
||||
$cache->setKey(['api_key']);
|
||||
$data = $cache->loadData();
|
||||
|
@ -557,7 +557,7 @@ EOD;
|
|||
|
||||
$cacheFac2 = new CacheFactory();
|
||||
|
||||
$gt_cache = $cacheFac->create();
|
||||
$gt_cache = $cacheFactory->create();
|
||||
$gt_cache->setScope(get_called_class());
|
||||
$gt_cache->setKey(['guest_token']);
|
||||
$guestTokenUses = $gt_cache->loadData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue