We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6a9b0 commit 720b685Copy full SHA for 720b685
src/Illuminate/Routing/RouteCollection.php
@@ -77,9 +77,9 @@ protected function addToCollections($route)
77
*/
78
protected function addLookups($route)
79
{
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.
+ // If the route has a name, we will add it to the name look-up table, so that we
+ // will quickly be able to find the route associated with a name and not have
+ // to iterate through every route every time we need to find a named route.
83
if ($name = $route->getName()) {
84
$this->nameList[$name] = $route;
85
}
0 commit comments