Skip to content

Commit

Permalink
Quick doc fix (#54040)
Browse files Browse the repository at this point in the history
* Quick doc fix

* Quick doc fix
  • Loading branch information
mathiasgrimm authored Dec 30, 2024
1 parent 8f6a9b0 commit 720b685
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Routing/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ protected function addToCollections($route)
*/
protected function addLookups($route)
{
// 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 any route associate with a name and not have
// 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.
if ($name = $route->getName()) {
$this->nameList[$name] = $route;
}
Expand Down

0 comments on commit 720b685

Please sign in to comment.