From 79c9874700427e0e469fb3f56c5f072342263e73 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Tue, 23 Apr 2024 10:01:08 +0200 Subject: [PATCH] Fix normalizedNameCache (#51185) --- src/Illuminate/View/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/View/Factory.php b/src/Illuminate/View/Factory.php index 4328a88e038b..bc6e59d55afd 100755 --- a/src/Illuminate/View/Factory.php +++ b/src/Illuminate/View/Factory.php @@ -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); } /**