From: Nikki Nikkhoui Date: Tue, 15 Oct 2019 21:07:41 +0000 (-0700) Subject: Fix example Kask configuration in RESTBagOStuff class comment X-Git-Tag: 1.34.0-rc.1~33 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=dbac27bd42bdc72272c898c79c7011e2e0ef92c8;ds=sidebyside Fix example Kask configuration in RESTBagOStuff class comment Fix error in RESTBagOStuff class comment, so that the example Kask configuration is properly documented Bug: T235559 Change-Id: If664913a4e61013dba070153b10def5ecd6caeb3 (cherry picked from commit 3cda7b78466e294de0a9434178254a5c70ac8d0a) --- diff --git a/includes/libs/objectcache/RESTBagOStuff.php b/includes/libs/objectcache/RESTBagOStuff.php index aa79b37369..68fe07c23f 100644 --- a/includes/libs/objectcache/RESTBagOStuff.php +++ b/includes/libs/objectcache/RESTBagOStuff.php @@ -38,8 +38,8 @@ use Psr\Log\LoggerInterface; * 'writeHeaders' => [ 'content-type' => 'application/octet-stream' ], * 'deleteHeaders' => [], * 'writeMethod' => 'POST', - * 'serialization_type' => 'JSON', * ], + * 'serialization_type' => 'JSON', * 'extendedErrorBodyFields' => [ 'type', 'title', 'detail', 'instance' ] * ); * $wgSessionCacheType = 'sessions';