We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f34e2 commit 9f81959Copy full SHA for 9f81959
Function.HTML-Build-Attributes.php
@@ -31,7 +31,7 @@ function html_build_attributes($attr, callable $callback = null)
31
}
32
33
34
- if (is_callable($val)) {
+ if (is_object($val) && is_callable($val)) {
35
$val = $val();
36
37
0 commit comments