Fix argument handling in MultiWriteBagOStuff::get()
[lhc/web/wiklou.git] / includes / objectcache / MemcachedPhpBagOStuff.php
index 6fba61b..69792ad 100644 (file)
@@ -57,11 +57,7 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff {
                $this->client->set_debug( $debug );
        }
 
-       /**
-        * @param array $keys
-        * @return array
-        */
-       public function getMulti( array $keys ) {
+       public function getMulti( array $keys, $flags = 0 ) {
                $callback = array( $this, 'encodeKey' );
                return $this->client->get_multi( array_map( $callback, $keys ) );
        }