From: Vincent Vanwaelscappel Date: Tue, 6 Sep 2022 13:10:36 +0000 (+0200) Subject: wait #5430 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6d097dc3371a72c8a1f7e8d8468a48fa37b251ae;p=cubedesigners_userdatabase.git wait #5430 @0.5 --- diff --git a/src/app/Permissions.php b/src/app/Permissions.php index 28d26c4..599d9a6 100644 --- a/src/app/Permissions.php +++ b/src/app/Permissions.php @@ -101,7 +101,7 @@ class Permissions self::$_data = $closure(); $cache->put($cacheKey, $ttl, self::$_data); } else { - self::$_data = cache()->remember($cacheKey, $ttl, $closure); + self::$_data = $cache->remember($cacheKey, $ttl, $closure); } \Barryvdh\Debugbar\Facade::stopMeasure($cacheKey);