Fix example Kask configuration in RESTBagOStuff class comment
authorNikki Nikkhoui <nnikkhoui@wikimedia.org>
Tue, 15 Oct 2019 21:07:41 +0000 (14:07 -0700)
committerNikki Nikkhoui <nnikkhoui@wikimedia.org>
Wed, 16 Oct 2019 16:11:58 +0000 (16:11 +0000)
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)

includes/libs/objectcache/RESTBagOStuff.php

index aa79b37..68fe07c 100644 (file)
@@ -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';