diff --git a/core/modules/system/src/Plugin/Condition/RequestPath.php b/core/modules/system/src/Plugin/Condition/RequestPath.php index 42e4d10..85b57fe 100644 --- a/core/modules/system/src/Plugin/Condition/RequestPath.php +++ b/core/modules/system/src/Plugin/Condition/RequestPath.php @@ -66,7 +66,7 @@ class RequestPath extends ConditionPluginBase implements ContainerFactoryPluginI * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request stack. * @param \Drupal\Core\Path\CurrentPath $current_path - * The curren path. + * The current path. * @param array $configuration * A configuration array containing information about the plugin instance. * @param string $plugin_id diff --git a/core/modules/system/src/Tests/RouteProcessor/RouteProcessorCurrentIntegrationTest.php b/core/modules/system/src/Tests/RouteProcessor/RouteProcessorCurrentIntegrationTest.php index ecf1e3a..d8e8606 100644 --- a/core/modules/system/src/Tests/RouteProcessor/RouteProcessorCurrentIntegrationTest.php +++ b/core/modules/system/src/Tests/RouteProcessor/RouteProcessorCurrentIntegrationTest.php @@ -108,7 +108,7 @@ public function testProcessOutbound() { $request_stack->push($request); $request_context->fromRequest($request); - // In case we have to routing, the current route should point to the front. + // In case we have no routing, the current route should point to the front. $this->assertEqual('/', \Drupal::url('')); }