Awight has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231065

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/php-queue 
refs/changes/65/231065/1

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: newchange
Gerrit-Change-Id: I466af6fc3e48811fcfa66f4902b3765dadf3efba
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/php-queue
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

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

Reply via email to