From d5745891e99b1ca4df76dd4e9f3f49c9e116632c Mon Sep 17 00:00:00 2001 From: Fabian Helfer Date: Thu, 19 Sep 2024 10:13:58 +0200 Subject: [PATCH] remove use ilObjUSer TestPlaceholderValues --- .../ILIAS/Test/src/Certificate/TestPlaceholderValues.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/ILIAS/Test/src/Certificate/TestPlaceholderValues.php b/components/ILIAS/Test/src/Certificate/TestPlaceholderValues.php index 673d34311703..d28614b05287 100644 --- a/components/ILIAS/Test/src/Certificate/TestPlaceholderValues.php +++ b/components/ILIAS/Test/src/Certificate/TestPlaceholderValues.php @@ -20,8 +20,6 @@ namespace ILIAS\Test\Certificate; -use ilObjUser; - /** * @author Niels Theen */ @@ -148,7 +146,7 @@ public function getPlaceholderValues(int $user_id, int $obj_id): array $placeholders['DATETIME_COMPLETED'] = ''; if ($completionDate !== false && $completionDate !== '') { - /** @var ilObjUser $user */ + /** @var \ilObjUser $user */ $user = $this->objectHelper->getInstanceByObjId($user_id); $placeholders['DATE_COMPLETED'] = $this->dateHelper->formatDate($completionDate, $user); $placeholders['DATETIME_COMPLETED'] = $this->dateHelper->formatDateTime($completionDate, $user);