Skip to content

Commit

Permalink
fix: fix minor codestyle issue in loader.php to make easy-coding-stan…
Browse files Browse the repository at this point in the history
…dard happy (#2950)
  • Loading branch information
Levdbas committed Mar 14, 2024
1 parent 15fdc38 commit 6e8b6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Loader.php
Expand Up @@ -685,7 +685,7 @@ public function get_cache($key, $group = self::CACHEGROUP, $cache_mode = self::C
* @param string $group The cache group.
* @param string $cache_mode The cache mode.
*/
$trans_key = apply_filters('timber/cache/transient_key', $trans_key, $key, $group, $cache_mode);
$trans_key = \apply_filters('timber/cache/transient_key', $trans_key, $key, $group, $cache_mode);

if (self::CACHE_TRANSIENT === $cache_mode) {
$value = \get_transient($trans_key);
Expand Down Expand Up @@ -732,7 +732,7 @@ public function set_cache($key, $value, $group = self::CACHEGROUP, $expires = 0,
* @param string $group The cache group.
* @param string $cache_mode The cache mode.
*/
$trans_key = apply_filters('timber/cache/transient_key', $trans_key, $key, $group, $cache_mode);
$trans_key = \apply_filters('timber/cache/transient_key', $trans_key, $key, $group, $cache_mode);

if (self::CACHE_TRANSIENT === $cache_mode) {
\set_transient($trans_key, $value, $expires);
Expand Down

0 comments on commit 6e8b6ab

Please sign in to comment.