From: Max Semenik Date: Sat, 28 Jul 2018 20:59:22 +0000 (-0700) Subject: Make sure to not unpack an associative array into parameter list X-Git-Tag: 1.34.0-rc.0~4634 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=1facc21e49541fe48945ad9a1e9486bfff32c3de Make sure to not unpack an associative array into parameter list Bug: T200394 Change-Id: I9c28e1cadeb76275d24eb7725f1578bf5ba43ad0 --- diff --git a/includes/cache/CacheHelper.php b/includes/cache/CacheHelper.php index 9db8166d50..6c6b184735 100644 --- a/includes/cache/CacheHelper.php +++ b/includes/cache/CacheHelper.php @@ -350,7 +350,7 @@ class CacheHelper implements ICacheHelper { throw new MWException( 'No cache key set, so cannot obtain or save the CacheHelper values.' ); } - return wfMemcKey( ...$this->cacheKey ); + return wfMemcKey( ...array_values( $this->cacheKey ) ); } /**