Merge "objectcache: fix comment typo for addBusyCallback()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 7 Mar 2019 23:58:51 +0000 (23:58 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 7 Mar 2019 23:58:51 +0000 (23:58 +0000)
1  2 
includes/libs/objectcache/BagOStuff.php

@@@ -710,7 -710,7 +710,7 @@@ abstract class BagOStuff implements IEx
         * The callbacks may or may not be called ever, in any particular order.
         * They are likely to be invoked when something WRITE_SYNC is used used.
         * They should follow a caching pattern as shown below, so that any code
-        * using the word will get it's result no matter what happens.
+        * using the work will get it's result no matter what happens.
         * @code
         *     $result = null;
         *     $workCallback = function () use ( &$result ) {
                $key = $keyspace;
                foreach ( $args as $arg ) {
                        $arg = str_replace( ':', '%3A', $arg );
 -                      $key = $key . ':' . $arg;
 +                      $key .= ':' . $arg;
                }
                return strtr( $key, ' ', '_' );
        }