X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FBagOStuff.php;h=2350b0a1485c2741d6c2e52811ca17db4bbff561;hb=a8caf025649a21f3a65271a3ea764a89e11bc6dc;hp=a7ef3d57811e2c3de951d77622d2995712634159;hpb=70d9fbb0bfacaf837b7e8efb3770245d646ab522;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/BagOStuff.php b/includes/libs/objectcache/BagOStuff.php index a7ef3d5781..2350b0a148 100644 --- a/includes/libs/objectcache/BagOStuff.php +++ b/includes/libs/objectcache/BagOStuff.php @@ -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 ) { @@ -811,7 +811,7 @@ abstract class BagOStuff implements IExpiringStore, LoggerAwareInterface { $key = $keyspace; foreach ( $args as $arg ) { $arg = str_replace( ':', '%3A', $arg ); - $key = $key . ':' . $arg; + $key .= ':' . $arg; } return strtr( $key, ' ', '_' ); }