From c07c5533e87e2d66e79d0316effd7512bd769f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20France?= Date: Thu, 14 Mar 2024 20:45:20 +0100 Subject: [PATCH] fix phpstan is incompatible with --- .../recruitment/mod_recruitmentcandidature_standard.php | 4 ++-- .../recruitment/mod_recruitmentjobposition_standard.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentcandidature_standard.php b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentcandidature_standard.php index 848b11267e7..6a7b4d8c510 100644 --- a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentcandidature_standard.php +++ b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentcandidature_standard.php @@ -77,8 +77,8 @@ class mod_recruitmentcandidature_standard extends ModeleNumRefRecruitmentCandida * Checks if the numbers already in the database do not * cause conflicts that would prevent this numbering working. * - * @param RecruitmentCandidature $object Object we need next value for - * @return boolean false if conflict, true if ok + * @param CommonObject $object Object we need next value for + * @return boolean false if conflict, true if ok */ public function canBeActivated($object) { diff --git a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_standard.php b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_standard.php index ef3c199b912..50c2ab775e7 100644 --- a/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_standard.php +++ b/htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_standard.php @@ -77,8 +77,8 @@ class mod_recruitmentjobposition_standard extends ModeleNumRefRecruitmentJobPosi * Checks if the numbers already in the database do not * cause conflicts that would prevent this numbering working. * - * @param RecruitmentJobPosition $object Object we need next value for - * @return boolean false if conflict, true if ok + * @param CommonObject $object Object we need next value for + * @return boolean false if conflict, true if ok */ public function canBeActivated($object) {