Ejegg has submitted this change and it was merged.

Change subject: change function access for old PHP
......................................................................


change function access for old PHP

Turns out different PHP versions have different ideas of what you can do
from a closure.

Change-Id: I466af6fc3e48811fcfa66f4902b3765dadf3efba
---
M src/PHPQueue/Backend/Predis.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ejegg: Verified; Looks good to me, approved



diff --git a/src/PHPQueue/Backend/Predis.php b/src/PHPQueue/Backend/Predis.php
index 721d91c..4a46948 100644
--- a/src/PHPQueue/Backend/Predis.php
+++ b/src/PHPQueue/Backend/Predis.php
@@ -127,7 +127,7 @@
      *
      * @return string|null Top element's key, or null if the queue is empty.
      */
-    protected function peekWithCleanup(MultiExec $tx)
+    public function peekWithCleanup(MultiExec $tx)
     {
         for (;;) {
             // Look up the first element in the FIFO ordering.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I466af6fc3e48811fcfa66f4902b3765dadf3efba
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/php-queue
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>

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

Reply via email to