Skip to content

Commit 7ce16e6

Browse files
committed
Fixed json vendor indication
1 parent 0c641ed commit 7ce16e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Renderer/JsonErrorRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private function getTraceEntriesJsonArray(array $traceEntries): array
5959
}, $entry['args']);
6060
$truncatedArgsString = implode(', ', $truncatedArgs);
6161
$isNotVendor = $entry['nonVendorClass'] === 'non-vendor';
62-
$traceJson[$key] = "#$key " . $isNotVendor ? '(src) ' : '(vendor) ' . $entry['classAndFunction'] .
62+
$traceJson[$key] = "#$key " . ($isNotVendor ? '(src) ' : '(vendor) ') . $entry['classAndFunction'] .
6363
'(' . $truncatedArgsString . ') called in (file)' . $entry['fileName'] . ':' . $entry['line'] . ']';
6464
}
6565

0 commit comments

Comments
 (0)