Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ab5e4f

Browse filesBrowse files
committed
fix typos in PhpMatcherDumper
1 parent 60eeacd commit 9ab5e4f
Copy full SHA for 9ab5e4f

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.