Skip to content

Commit ef49d18

Browse files
committed
Merge branch '2.x-updates' of https://github.com/solutionforest/Inspirecms-core into 2.x-updates
* '2.x-updates' of https://github.com/solutionforest/Inspirecms-core: Fix styling
2 parents 6b48dc3 + 8a9e899 commit ef49d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/ThrowableHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function getTraceAsString(Throwable $e, int $limit): string
3737
}
3838
if (is_array($argument)) {
3939
return 'array(' . implode(', ', array_map(function ($v) {
40-
return is_scalar($v) ? var_export($v, true) : (is_object($v) ? 'object('.get_class($v).')' : gettype($v));
40+
return is_scalar($v) ? var_export($v, true) : (is_object($v) ? 'object(' . get_class($v) . ')' : gettype($v));
4141
}, array_slice($argument, 0, 3))) . (count($argument) > 3 ? ', ...' : '') . ')';
4242
}
4343

0 commit comments

Comments
 (0)