Skip to content

Commit

Permalink
update or does not have cache
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed May 15, 2024
1 parent 5d78b40 commit 04f362a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CachesValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final public static function get($parameters = [], $default = null, bool $update
$cache = Cache::store($store);

if (
$update &&
$update ||
! $cache->has($cacheKey)
) {
return static::updateAndGet($parameters ?? []);
Expand Down

0 comments on commit 04f362a

Please sign in to comment.