We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d0a480 commit 8a9e899Copy full SHA for 8a9e899
src/Helpers/ThrowableHelper.php
@@ -37,7 +37,7 @@ public static function getTraceAsString(Throwable $e, int $limit): string
37
}
38
if (is_array($argument)) {
39
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));
+ return is_scalar($v) ? var_export($v, true) : (is_object($v) ? 'object(' . get_class($v) . ')' : gettype($v));
41
}, array_slice($argument, 0, 3))) . (count($argument) > 3 ? ', ...' : '') . ')';
42
43
0 commit comments