Skip to content

Commit

Permalink
Fix a bug running the tests at all would have picked up
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Oct 23, 2018
1 parent a110b26 commit 12b35a9
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($this->renamedAttributes[$key]);
$flippedAttributes = array_flip($this->renamedAttributes);

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

0 comments on commit 12b35a9

Please sign in to comment.