Browse Source

Merge pull request #11731 from davidyell/patch-4

Remove unused variables
ADmad 8 years ago
parent
commit
6cff6dee9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/TestSuite/Fixture/FixtureManager.php

+ 2 - 2
src/TestSuite/Fixture/FixtureManager.php

@@ -292,7 +292,7 @@ class FixtureManager
                     $this->_insertionMap[$configName] = [];
                 }
 
-                foreach ($fixtures as $name => $fixture) {
+                foreach ($fixtures as $fixture) {
                     if (in_array($fixture->table, $tables)) {
                         try {
                             $fixture->dropConstraints($db);
@@ -316,7 +316,7 @@ class FixtureManager
                     }
                 }
 
-                foreach ($fixtures as $name => $fixture) {
+                foreach ($fixtures as $fixture) {
                     try {
                         $fixture->createConstraints($db);
                     } catch (PDOException $e) {