From 415b78c1c1e2febba12f7d573f6a7b267fe560d7 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Fri, 5 May 2023 11:10:20 +0200 Subject: [PATCH] Change return type in _getParentHref It never returns null because for null it is overwritten with empty string --- Classes/Common/MetsDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Common/MetsDocument.php b/Classes/Common/MetsDocument.php index ae651b87a..1f9d63660 100644 --- a/Classes/Common/MetsDocument.php +++ b/Classes/Common/MetsDocument.php @@ -1215,7 +1215,7 @@ protected function _getToplevelId() /** * Try to determine URL of parent document. * - * @return string|null + * @return string */ public function _getParentHref() {