diff --git a/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php b/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php index b95177416561b93d6e4cd76065ea2213009ce9a0..2cc0d369761a86571fea8eee3150729d1b58abde 100644 --- a/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php +++ b/core/modules/system/tests/modules/theme_test/src/EventSubscriber/ThemeTestSubscriber.php @@ -78,11 +78,11 @@ public function onRequest(RequestEvent $event) { */ public function onView(RequestEvent $event) { $current_route = $this->currentRouteMatch->getRouteName(); - $entity_autcomplete_route = [ + $entity_autocomplete_route = [ 'system.entity_autocomplete', ]; - if (in_array($current_route, $entity_autcomplete_route)) { + if (in_array($current_route, $entity_autocomplete_route)) { if ($this->container->initialized('theme.registry')) { throw new \Exception('registry initialized'); }