Skip to content

Commit ed35e1a

Browse files
committed
updating cache and helpers
1 parent 1a3b712 commit ed35e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/CacheTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function setCache(): void
8181

8282
$output = [];
8383

84-
foreach (self::$cacheBuilder as $type => $value) {
84+
foreach (\array_keys(self::$cacheBuilder) as $type) {
8585
$data = \get_transient(self::getCacheTransientName($type));
8686

8787
if (!$data) {

0 commit comments

Comments
 (0)