Skip to content

Commit 720b685

Browse files
authored
Quick doc fix (#54040)
* Quick doc fix * Quick doc fix
1 parent 8f6a9b0 commit 720b685

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Routing/RouteCollection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ protected function addToCollections($route)
7777
*/
7878
protected function addLookups($route)
7979
{
80-
// If the route has a name, we will add it to the name look-up table so that we
81-
// will quickly be able to find any route associate with a name and not have
82-
// to iterate through every route every time we need to perform a look-up.
80+
// If the route has a name, we will add it to the name look-up table, so that we
81+
// will quickly be able to find the route associated with a name and not have
82+
// to iterate through every route every time we need to find a named route.
8383
if ($name = $route->getName()) {
8484
$this->nameList[$name] = $route;
8585
}

0 commit comments

Comments
 (0)