stable
Clone or download
Read-only
There is no reason to return null when there is no description. We can return empty string instead. This fix static analysis issue reported by psalm following the integration of git #tuleap/stable/677a50569de304fbf776a2bfac83acbe97b708e9 Part of request #13901: OpenGraph content should not display HTML tag soup Change-Id: Icccba2f0ba63fa177fa0a3aca2ccea4bba3aa096
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/ArtifactDescriptionProvider.php | +5 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/phpunit/Tracker/Artifact/ArtifactDescriptionProviderTest.php | +4 | −4 | Go to diff View file |