diff --git a/core/lib/Drupal/Core/Routing/UrlGenerator.php b/core/lib/Drupal/Core/Routing/UrlGenerator.php index f81ff51..cfd90a9 100644 --- a/core/lib/Drupal/Core/Routing/UrlGenerator.php +++ b/core/lib/Drupal/Core/Routing/UrlGenerator.php @@ -43,7 +43,7 @@ class UrlGenerator extends ProviderBasedGenerator implements UrlGeneratorInterfa /** * The route processor. * - * @var \Drupal\Tests\Core\RouteProcessor\OutboundRouteProcessorInterface + * @var \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface */ protected $routeProcessor; @@ -80,12 +80,16 @@ class UrlGenerator extends ProviderBasedGenerator implements UrlGeneratorInterfa * * @param \Drupal\Core\Routing\RouteProviderInterface $provider * The route provider to be searched for routes. + * @param \Drupal\Core\PathProcessor\OutboundPathProcessorInterface $path_processor + * The path processor to convert the system path to one suitable for urls. + * @param \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface $route_processor + * The route processor. * @param \Drupal\Core\Config\ConfigFactoryInterface $config - * The config factory. + * The config factory. * @param \Drupal\Component\Utility\Settings $settings + * The read only settings. * @param \Symfony\Component\HttpKernel\Log\LoggerInterface $logger * An optional logger for recording errors. - * @internal param \Drupal\Core\Path\AliasManagerInterface $alias_manager The alias manager responsible for path aliasing.* The alias manager responsible for path aliasing. */ public function __construct(RouteProviderInterface $provider, OutboundPathProcessorInterface $path_processor, OutboundRouteProcessorInterface $route_processor, ConfigFactoryInterface $config, Settings $settings, LoggerInterface $logger = NULL) { parent::__construct($provider, $logger); diff --git a/core/modules/forum/tests/Drupal/forum/Tests/ForumManagerTest.php b/core/modules/forum/tests/Drupal/forum/Tests/ForumManagerTest.php index 3074cda..ab02d1d 100644 --- a/core/modules/forum/tests/Drupal/forum/Tests/ForumManagerTest.php +++ b/core/modules/forum/tests/Drupal/forum/Tests/ForumManagerTest.php @@ -34,7 +34,7 @@ public function testGetIndex() { ->disableOriginalConstructor() ->getMock(); - $config_factory = $this->getMock('\Drupal\Core\Config\ConfigFactoryInterface') + $config_factory = $this->getMock('\Drupal\Core\Config\ConfigFactoryInterface'); $config = $this->getMockBuilder('\Drupal\Core\Config\Config') ->disableOriginalConstructor()