X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=blobdiff_plain;f=includes%2Fcache%2FUserCache.php;h=2828b9a71f95792be115638226cf3e5b7aff0984;hb=485f66f1744fea056e20a5bef619989bf1749202;hp=cb6857121e7c62514e5c41ab76b3b809dfb5dcfc;hpb=b191e5e860f24e1dd05e3d3d782364e4ea75b176;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/UserCache.php b/includes/cache/UserCache.php index cb6857121e..2828b9a71f 100644 --- a/includes/cache/UserCache.php +++ b/includes/cache/UserCache.php @@ -56,9 +56,7 @@ class UserCache { $this->doQuery( [ $userId ] ); // cache miss } - return isset( $this->cache[$userId][$prop] ) - ? $this->cache[$userId][$prop] - : false; // user does not exist? + return $this->cache[$userId][$prop] ?? false; // user does not exist? } /**