Skip to content

Commit a61a5f8

Browse files
committed
Print class name in drush_op()
1 parent f63a79a commit a61a5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/drush.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function drush_op($callable) {
188188
$args = func_get_args();
189189
array_shift($args); // Skip function name
190190
foreach ($args as $arg) {
191-
$args_printed[] = is_scalar($arg) ? $arg : (is_array($arg) ? 'Array' : 'Object');
191+
$args_printed[] = is_scalar($arg) ? $arg : (is_object($arg) ? get_class($arg) : gettype($arg));
192192
}
193193

194194
if (!is_array($callable)) {

0 commit comments

Comments
 (0)