Aaron Schulz has uploaded a new change for review.

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

Change subject: Fix FileBackendStore IDEA warnings due to var reuse
......................................................................

Fix FileBackendStore IDEA warnings due to var reuse

Change-Id: I1b667fb7e891053c7898a0c247745b4376061590
---
M includes/libs/filebackend/FileBackendStore.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/36/316736/1

diff --git a/includes/libs/filebackend/FileBackendStore.php 
b/includes/libs/filebackend/FileBackendStore.php
index b1b7652..bd2ce5d 100644
--- a/includes/libs/filebackend/FileBackendStore.php
+++ b/includes/libs/filebackend/FileBackendStore.php
@@ -1098,9 +1098,9 @@
 
                // Build the list of paths involved
                $paths = [];
-               foreach ( $performOps as $op ) {
-                       $paths = array_merge( $paths, $op->storagePathsRead() );
-                       $paths = array_merge( $paths, 
$op->storagePathsChanged() );
+               foreach ( $performOps as $performOp ) {
+                       $paths = array_merge( $paths, 
$performOp->storagePathsRead() );
+                       $paths = array_merge( $paths, 
$performOp->storagePathsChanged() );
                }
 
                // Enlarge the cache to fit the stat entries of these files

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b667fb7e891053c7898a0c247745b4376061590
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to