From: Aaron Schulz Date: Wed, 19 Oct 2016 06:10:58 +0000 (-0700) Subject: Fix FileBackendStore IDEA warnings due to var reuse X-Git-Tag: 1.31.0-rc.0~5066^2 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=177e1511745711b4795f63034cb3e9da53b6b676;p=lhc%2Fweb%2Fwiklou.git Fix FileBackendStore IDEA warnings due to var reuse Change-Id: I1b667fb7e891053c7898a0c247745b4376061590 --- diff --git a/includes/libs/filebackend/FileBackendStore.php b/includes/libs/filebackend/FileBackendStore.php index b1b7652f10..bd2ce5ddfb 100644 --- a/includes/libs/filebackend/FileBackendStore.php +++ b/includes/libs/filebackend/FileBackendStore.php @@ -1098,9 +1098,9 @@ abstract class FileBackendStore extends FileBackend { // 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