Loading Controllers/api/v2/feeds/channel.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -116,7 +116,7 @@ class channel implements Interfaces\Api $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null; $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null; $cache = (bool) $_GET['cache'] ?? false; $cache = (bool) $_GET['cache'] ?? true; /** @var Core\Data\cache\abstractCacher $cacher */ /** @var Core\Data\cache\abstractCacher $cacher */ $cacher = Di::_()->get('Cache'); $cacher = Di::_()->get('Cache'); Loading Loading @@ -205,7 +205,7 @@ class channel implements Interfaces\Api private function getCacheKey(array $opts): string private function getCacheKey(array $opts): string { { return "feeds-channel:" . implode(':', opts); return "feeds-channel:" . implode(':', $opts); } } /** /** Loading Loading
Controllers/api/v2/feeds/channel.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -116,7 +116,7 @@ class channel implements Interfaces\Api $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null; $custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null; $cache = (bool) $_GET['cache'] ?? false; $cache = (bool) $_GET['cache'] ?? true; /** @var Core\Data\cache\abstractCacher $cacher */ /** @var Core\Data\cache\abstractCacher $cacher */ $cacher = Di::_()->get('Cache'); $cacher = Di::_()->get('Cache'); Loading Loading @@ -205,7 +205,7 @@ class channel implements Interfaces\Api private function getCacheKey(array $opts): string private function getCacheKey(array $opts): string { { return "feeds-channel:" . implode(':', opts); return "feeds-channel:" . implode(':', $opts); } } /** /** Loading