Skip to content

Commit 79c9874

Browse files
authored
Fix normalizedNameCache (#51185)
1 parent 5d4b26e commit 79c9874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public function renderEach($view, $data, $iterator, $empty = 'raw|')
261261
*/
262262
protected function normalizeName($name)
263263
{
264-
return $this->normalizedNames[$name] ??= ViewName::normalize($name);
264+
return $this->normalizedNameCache[$name] ??= ViewName::normalize($name);
265265
}
266266

267267
/**

0 commit comments

Comments
 (0)