diff -u b/core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php b/core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php --- b/core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php +++ b/core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php @@ -40,7 +40,6 @@ } /** - * * Page callback: Tests the theme negotiation functionality. * * @param bool $inherited @@ -48,7 +47,7 @@ * the theme of its parent. * * @return string - * A string describing the requested custom theme and actual + * A string describing the requested custom theme and actual * theme being used * for the current page request. */ @@ -56,7 +55,7 @@ $theme_key = \Drupal::theme()->getActiveTheme()->getName(); // Now we check what the theme negotiator service returns. $active_theme = \Drupal::service('theme.negotiator') - ->determineActiveTheme(\Drupal::routeMatch()); + ->determineActiveTheme(\Drupal::routeMatch()); $output = "Active theme: $active_theme. Actual theme: $theme_key."; if ($inherited) { $output .= ' Theme negotiation inheritance is being tested.';