Skip to content

Commit 58a0fe0

Browse files
committed
gettype -> get_class
1 parent 18a6e4c commit 58a0fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityHTTPD.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public static function errorLog(
151151
private static function throwableToArray(\Throwable $t): array
152152
{
153153
$output = [
154-
"type" => gettype($t),
154+
"class" => get_class($t),
155155
"msg" => $t->getMessage(),
156156
// newlines are bad for error log, but getTrace() is too verbose
157157
"trace" => explode("\n", $t->getTraceAsString()),

0 commit comments

Comments
 (0)