objectcache: fix comment typo for addBusyCallback()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Mar 2019 20:25:02 +0000 (12:25 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Mar 2019 20:25:02 +0000 (12:25 -0800)
Change-Id: I05a4d84d40b81ba25b89238b36cdb64c71e2de1e

includes/libs/objectcache/BagOStuff.php

index a7ef3d5..e58b422 100644 (file)
@@ -710,7 +710,7 @@ abstract class BagOStuff implements IExpiringStore, LoggerAwareInterface {
         * 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 ) {