mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP 8.1
Summary: Update DiffusionDocumentRenderingEngine to cope with null code coverage in PHP 8.1 Fixes T15523 Test Plan: https://my.phorge.site/source/myrepo/browse/master/myfile Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15523 Differential Revision: https://we.phorge.it/D25330
This commit is contained in:
parent
80484b76a5
commit
5e48e16f77
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ final class DiffusionDocumentRenderingEngine
|
|||
$ref->setSymbolMetadata($this->getSymbolMetadata());
|
||||
|
||||
$coverage = $drequest->loadCoverage();
|
||||
if (strlen($coverage)) {
|
||||
if (phutil_nonempty_string($coverage)) {
|
||||
$ref->addCoverage($coverage);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue