Skip to content

Commit c84907b

Browse files
committed
Merge pull request #3 from Tobion/patch-5
fix typos in PhpMatcherDumper
2 parents 60eeacd + 9ab5e4f commit c84907b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function match(\$pathinfo)
100100
}
101101

102102
/**
103-
* Generates PHP code recursively to match a RouteCollection with all child routes and child collections.
103+
* Generates PHP code to match a RouteCollection with all its routes.
104104
*
105105
* @param RouteCollection $routes A RouteCollection instance
106106
* @param Boolean $supportsRedirections Whether redirections are supported by the base class
@@ -323,9 +323,9 @@ private function compileRoute(Route $route, $name, $supportsRedirections, $paren
323323
/**
324324
* Groups consecutive routes having the same hostname regex.
325325
*
326-
* The results is a collection of collections of routes having the same hostname regex.
326+
* The result is a collection of collections of routes having the same hostname regex.
327327
*
328-
* @param DumperCollection $routes Flat collection of DumperRoutes
328+
* @param RouteCollection $routes A flat RouteCollection
329329
*
330330
* @return DumperCollection A collection with routes grouped by hostname regex in sub-collections
331331
*/
@@ -354,7 +354,7 @@ private function groupRoutesByHostnameRegex(RouteCollection $routes)
354354
* Organizes the routes into a prefix tree.
355355
*
356356
* Routes order is preserved such that traversing the tree will traverse the
357-
* routes in the origin order
357+
* routes in the origin order.
358358
*
359359
* @param DumperCollection $collection A collection of routes
360360
*

0 commit comments

Comments
 (0)