Skip to content

Commit

Permalink
Merge branch 'master' of github.com:preprocess/pre-phpx-html
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Aug 20, 2019
2 parents 010ff9b + 7511647 commit ecb0761
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 @@ -648,7 +648,7 @@ private function attributesFrom($props)
$key = $flippedAttributes[$properKey];
}

if (is_callable($value)) {
if ($value instanceof Closure) {
$value = $value();
}

Expand Down

0 comments on commit ecb0761

Please sign in to comment.