1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-28 04:00:43 +02:00

Suggest that the line is unknown when is null/zero on xdebug link (#638)

This commit is contained in:
erikn69
2024-03-30 01:25:13 -05:00
committed by GitHub
parent 94a16d7874
commit e903b29e17

View File

@@ -81,7 +81,7 @@ trait HasXdebugLinks
'url' => $url,
'ajax' => $this->getXdebugShouldUseAjax(),
'filename' => basename($file),
'line' => (string) $line
'line' => (string) $line ?: '?'
];
}
}