From eb432ddf9447c291b0dc3b7d9e81a66832451103 Mon Sep 17 00:00:00 2001 From: julianzangl Date: Fri, 7 Jul 2023 12:12:53 +0200 Subject: [PATCH] [BUGFIX] changed return types of initializeArguments functions --- Classes/ViewHelpers/SkillGroupingViewHelper.php | 2 +- Classes/ViewHelpers/VerificationViewHelper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/ViewHelpers/SkillGroupingViewHelper.php b/Classes/ViewHelpers/SkillGroupingViewHelper.php index 2a2fdf4..9720c34 100644 --- a/Classes/ViewHelpers/SkillGroupingViewHelper.php +++ b/Classes/ViewHelpers/SkillGroupingViewHelper.php @@ -44,7 +44,7 @@ class SkillGroupingViewHelper extends AbstractViewHelper protected $escapeOutput = false; - public function initializeArguments() + public function initializeArguments(): void { $this->registerArgument('skills', 'array', 'An array of skills to group', false, []); $this->registerArgument('skillSet', SkillSet::class, 'The skills of this skill set will be grouped'); diff --git a/Classes/ViewHelpers/VerificationViewHelper.php b/Classes/ViewHelpers/VerificationViewHelper.php index 46f1778..6878855 100644 --- a/Classes/ViewHelpers/VerificationViewHelper.php +++ b/Classes/ViewHelpers/VerificationViewHelper.php @@ -36,7 +36,7 @@ abstract class VerificationViewHelper extends AbstractViewHelper protected $escapeOutput = false; - public function initializeArguments() + public function initializeArguments(): void { $this->registerArgument('skill', 'integer', 'ID of the Skill.'); $this->registerArgument('skillSet', 'integer', 'ID of the SkillSet.');