diff --git a/source/Renderer.php b/source/Renderer.php index 3e31de5..fa81ec6 100644 --- a/source/Renderer.php +++ b/source/Renderer.php @@ -636,7 +636,7 @@ private function attributesFrom($props) $properKey = $this->renamedAttributes[$key]; } - $flippedAttributes = array_flip($this->renamedAttributes[$key]); + $flippedAttributes = array_flip($this->renamedAttributes); if (isset($flippedAttributes[$properKey])) { $key = $flippedAttributes[$properKey];