diff --git a/src/DebugBar/DataFormatter/HasXdebugLinks.php b/src/DebugBar/DataFormatter/HasXdebugLinks.php index 48839d4..0d37e4f 100644 --- a/src/DebugBar/DataFormatter/HasXdebugLinks.php +++ b/src/DebugBar/DataFormatter/HasXdebugLinks.php @@ -81,7 +81,7 @@ trait HasXdebugLinks 'url' => $url, 'ajax' => $this->getXdebugShouldUseAjax(), 'filename' => basename($file), - 'line' => (string) $line + 'line' => (string) $line ?: '?' ]; } }