Skip to content

Commit

Permalink
Fix a bug more tests would have picked up before the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Oct 23, 2018
1 parent 01174f4 commit a110b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private function attributesFrom($props)
$properKey = $this->renamedAttributes[$key];
}

$flippedAttributes = array_flip($reversedAttributes);
$flippedAttributes = array_flip($this->renamedAttributes[$key]);

if (isset($flippedAttributes[$properKey])) {
$key = $flippedAttributes[$properKey];
Expand Down

0 comments on commit a110b26

Please sign in to comment.