From 863bd8d09439c165a44b782c9e96a6555fbcf26f Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Mon, 10 Oct 2022 15:29:07 +0000 Subject: [PATCH] - Quickfix from error found during PHP 8 migration --- src/Dump.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] ?? '?', ]; }