X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueMemory.php;h=f9e2c3dc4128bbd9a153b23e5dec1f9b25658780;hb=8518006b9bf0857e35c07729d6263b63ac540989;hp=649e2af98928509b23b29ce6115297801805922b;hpb=313dde5d06c42be1eb7da9127ec92bb5d360ddab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueMemory.php b/includes/jobqueue/JobQueueMemory.php index 649e2af989..f9e2c3dc41 100644 --- a/includes/jobqueue/JobQueueMemory.php +++ b/includes/jobqueue/JobQueueMemory.php @@ -177,7 +177,7 @@ class JobQueueMemory extends JobQueue { return new MappedIterator( $unclaimed, function ( $value ) { - $this->jobFromSpecInternal( $value ); + return $this->jobFromSpecInternal( $value ); } ); } @@ -196,7 +196,7 @@ class JobQueueMemory extends JobQueue { return new MappedIterator( $claimed, function ( $value ) { - $this->jobFromSpecInternal( $value ); + return $this->jobFromSpecInternal( $value ); } ); }