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); } /**