Merge pull request #3 from Tobion/patch-5

fix typos in PhpMatcherDumper
This commit is contained in:
Pascal Borreli 2012-12-14 14:53:44 -08:00
commit c84907b47a

View File

@ -100,7 +100,7 @@ EOF;
} }
/** /**
* Generates PHP code recursively to match a RouteCollection with all child routes and child collections. * Generates PHP code to match a RouteCollection with all its routes.
* *
* @param RouteCollection $routes A RouteCollection instance * @param RouteCollection $routes A RouteCollection instance
* @param Boolean $supportsRedirections Whether redirections are supported by the base class * @param Boolean $supportsRedirections Whether redirections are supported by the base class
@ -323,9 +323,9 @@ EOF;
/** /**
* Groups consecutive routes having the same hostname regex. * Groups consecutive routes having the same hostname regex.
* *
* The results is a collection of collections of routes having the same hostname regex. * The result is a collection of collections of routes having the same hostname regex.
* *
* @param DumperCollection $routes Flat collection of DumperRoutes * @param RouteCollection $routes A flat RouteCollection
* *
* @return DumperCollection A collection with routes grouped by hostname regex in sub-collections * @return DumperCollection A collection with routes grouped by hostname regex in sub-collections
*/ */
@ -354,7 +354,7 @@ EOF;
* Organizes the routes into a prefix tree. * Organizes the routes into a prefix tree.
* *
* Routes order is preserved such that traversing the tree will traverse the * Routes order is preserved such that traversing the tree will traverse the
* routes in the origin order * routes in the origin order.
* *
* @param DumperCollection $collection A collection of routes * @param DumperCollection $collection A collection of routes
* *