Skip to content

Commit

Permalink
Fix normalizedNameCache (#51185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki authored Apr 23, 2024
1 parent 5d4b26e commit 79c9874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function renderEach($view, $data, $iterator, $empty = 'raw|')
*/
protected function normalizeName($name)
{
return $this->normalizedNames[$name] ??= ViewName::normalize($name);
return $this->normalizedNameCache[$name] ??= ViewName::normalize($name);
}

/**
Expand Down

0 comments on commit 79c9874

Please sign in to comment.