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
assertchris committed Aug 20, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -648,7 +648,7 @@ private function attributesFrom($props)
$key = $flippedAttributes[$properKey];
}

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

0 comments on commit ecb0761

Please sign in to comment.