From 3c021116e4f5969f3931b92ee6041bef97f8ed5c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 8 Oct 2015 15:49:57 -0700 Subject: [PATCH] Minor getWithSetCallback() example formatting tweaks Change-Id: I6fc7164770fbbd32374b01d1aa27dbaa9263c940 --- includes/libs/objectcache/WANObjectCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 6c69b14fb5..c6949048ba 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -556,8 +556,8 @@ class WANObjectCache { * * return CatConfig::newFromRow( $dbr->selectRow( ... ) ); * }, - * // Calling touchCheckKey() on this key invalidates the cache * array( + * // Calling touchCheckKey() on this key invalidates the cache * 'checkKeys' => array( wfMemcKey( 'site-cat-config' ) ), * // Try to only let one datacenter thread manage cache updates at a time * 'lockTSE' => 30 @@ -581,9 +581,9 @@ class WANObjectCache { * * return CatState::newFromResults( $dbr->select( ... ) ); * }, - * // The "check" keys that represent things the value depends on; - * // Calling touchCheckKey() on any of them invalidates the cache * array( + * // The "check" keys that represent things the value depends on; + * // Calling touchCheckKey() on any of them invalidates the cache * 'checkKeys' => array( * wfMemcKey( 'sustenance-bowls', $cat->getRoomId() ), * wfMemcKey( 'people-present', $cat->getHouseId() ), -- 2.20.1