diff --git a/src/Dump.php b/src/Dump.php index 24fd01b..dd3dfe8 100644 --- a/src/Dump.php +++ b/src/Dump.php @@ -26,8 +26,8 @@ class Dump { public function renderArray() { return [ 'content' => $this->content, - 'file' => $this->trace['file'], - 'line' => $this->trace['line'], + 'file' => $this->trace['file'] ?? '?', + 'line' => $this->trace['line'] ?? '?', ]; }