diff --git a/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php b/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php index 735cd953c694..7fea145fb7ee 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php +++ b/core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php @@ -493,7 +493,7 @@ class DbLogTest extends WebTestBase { // Set the filter to match each of the two filter-type attributes and // confirm the correct number of entries are displayed. - foreach ($types as $key => $type) { + foreach ($types as $type) { $edit = array( 'type[]' => array($type['type']), 'severity[]' => array($type['severity']),