1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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