jenkins-bot has submitted this change and it was merged.

Change subject: Make HashBagOStuff::lock() compatible with BagOStuff::lock
......................................................................


Make HashBagOStuff::lock() compatible with BagOStuff::lock

Fixes php strict standard error.

Bug: T90427
Change-Id: Ica2bddead9b5ad367510e898eeea1257a53b5b19
---
M includes/objectcache/HashBagOStuff.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/objectcache/HashBagOStuff.php 
b/includes/objectcache/HashBagOStuff.php
index 9d65e38..2c8b05a 100644
--- a/includes/objectcache/HashBagOStuff.php
+++ b/includes/objectcache/HashBagOStuff.php
@@ -77,7 +77,7 @@
                return true;
        }
 
-       function lock( $key ) {
+       public function lock( $key, $timeout = 6, $expiry = 6 ) {
                return true;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/192296
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica2bddead9b5ad367510e898eeea1257a53b5b19
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to