Permalink
Browse files

small fix and enhancement

  • Loading branch information...
1 parent 1e1cb13 commit 5d9a36fe42fbfcdf6aeed6c8dcfac74f485656f9 @Tobion committed Nov 12, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 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 @@ public function unserialize($data)
}
/**
- * Returns the pattern.
+ * Returns the pattern for the path.
*
* @return string The pattern
*/
@@ -111,7 +111,7 @@ public function getPattern()
}
/**
- * Sets the pattern.
+ * Sets the pattern for the path.
*
* This method implements a fluent interface.
*

0 comments on commit 5d9a36f

Please sign in to comment.