Skip to content

Commit b025228

Browse files
authored
[Bref] Local handler print get_debug_type (#122)
1 parent b289dec commit b025228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bref/src/LocalRunner.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function run(): int
3030
echo json_encode($result, JSON_PRETTY_PRINT);
3131
} elseif (is_scalar($result)) {
3232
echo $result;
33+
} else {
34+
echo 'Handler result is of type: '.get_debug_type($result);
3335
}
3436

3537
return 0;

0 commit comments

Comments
 (0)