summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-06-26 21:35:05 +0100
committerAlex Pott2015-06-26 21:35:05 +0100
commitf236f3e433c86939de4171f6a6667013387e62e3 (patch)
tree94dba8b1dcc922a2a451485608b1a225fd7f6de5
parent40004e3d1131d24d848cc6aa84b2a4d4022068e3 (diff)
Issue #2509694 by kfitz, joshi.rohit100, cilefen: The $name parameter for UrlGenerator::getRoute() is documented incorrectly
-rw-r--r--core/lib/Drupal/Core/Routing/UrlGenerator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Routing/UrlGenerator.php b/core/lib/Drupal/Core/Routing/UrlGenerator.php
index 081a542..2f09779 100644
--- a/core/lib/Drupal/Core/Routing/UrlGenerator.php
+++ b/core/lib/Drupal/Core/Routing/UrlGenerator.php
@@ -512,8 +512,8 @@ class UrlGenerator implements UrlGeneratorInterface {
/**
* Find the route using the provided route name.
*
- * @param string $name
- * The route name to fetch
+ * @param string|\Symfony\Component\Routing\Route $name
+ * The route name or a route object.
*
* @return \Symfony\Component\Routing\Route
* The found route.