@@ -132,10 +132,10 @@ discard block |
||
132 | 132 | // Handle object |
133 | 133 | $formattedMessage = method_exists($message, '__toString') |
134 | 134 | ? (string) $message |
135 | - : json_encode($message, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); |
|
135 | + : json_encode($message, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE); |
|
136 | 136 | $type = get_class($message); // Use the class name for objects |
137 | 137 | } else { |
138 | - $formattedMessage = (string)$message; // Handle string or other types |
|
138 | + $formattedMessage = (string) $message; // Handle string or other types |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | $timestamp = date('Y-m-d H:i:s'); |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); |
272 | 272 | $traceInfo = array_map( |
273 | - function ($trace) { |
|
273 | + function($trace) { |
|
274 | 274 | $file = $trace['file'] ?? '[internal function]'; |
275 | 275 | $line = $trace['line'] ?? '?'; |
276 | 276 | $function = $trace['function']; |