From 5d9a36fe42fbfcdf6aeed6c8dcfac74f485656f9 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Mon, 12 Nov 2012 18:00:02 +0100 Subject: [PATCH] small fix and enhancement --- src/Symfony/Component/Routing/Route.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Symfony/Component/Routing/Route.php b/src/Symfony/Component/Routing/Route.php index c2a68da252..f6573054e5 100644 --- a/src/Symfony/Component/Routing/Route.php +++ b/src/Symfony/Component/Routing/Route.php @@ -59,11 +59,11 @@ class Route implements \Serializable * * * compiler_class: A class name able to compile this route instance (RouteCompiler by default) * - * @param string $pattern The pattern to match - * @param array $defaults An array of default parameter values - * @param array $requirements An array of requirements for parameters (regexes) - * @param array $options An array of options - * @param string $hostname The hostname pattern to match + * @param string $pattern The path pattern to match + * @param array $defaults An array of default parameter values + * @param array $requirements An array of requirements for parameters (regexes) + * @param array $options An array of options + * @param string $hostnamePattern The hostname pattern to match * * @api */ @@ -101,7 +101,7 @@ class Route implements \Serializable } /** - * Returns the pattern. + * Returns the pattern for the path. * * @return string The pattern */ @@ -111,7 +111,7 @@ class Route implements \Serializable } /** - * Sets the pattern. + * Sets the pattern for the path. * * This method implements a fluent interface. *