Skip to content

Commit 747ad11

Browse files
committed
Try to fix callable array pb
1 parent d93f674 commit 747ad11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/debug/Debugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private static function getLocales() {
180180
}
181181

182182
private static function displayVar($variable) {
183-
if (! \is_string($variable) && \is_callable($variable, true)) {
183+
if (! \is_string($variable) && ! \is_array($variable) && \is_callable($variable)) {
184184
return UIntrospection::closure_dump($variable);
185185
}
186186
if (\is_object($variable)) {

0 commit comments

Comments
 (0)