[BUGFIX] changed return types of initializeArguments functions

This commit is contained in:
julianzangl 2023-07-07 12:12:53 +02:00
parent 9076aa0067
commit eb432ddf94
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class SkillGroupingViewHelper extends AbstractViewHelper
protected $escapeOutput = false; protected $escapeOutput = false;
public function initializeArguments() public function initializeArguments(): void
{ {
$this->registerArgument('skills', 'array', 'An array of skills to group', false, []); $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'); $this->registerArgument('skillSet', SkillSet::class, 'The skills of this skill set will be grouped');

View file

@ -36,7 +36,7 @@ abstract class VerificationViewHelper extends AbstractViewHelper
protected $escapeOutput = false; protected $escapeOutput = false;
public function initializeArguments() public function initializeArguments(): void
{ {
$this->registerArgument('skill', 'integer', 'ID of the Skill.'); $this->registerArgument('skill', 'integer', 'ID of the Skill.');
$this->registerArgument('skillSet', 'integer', 'ID of the SkillSet.'); $this->registerArgument('skillSet', 'integer', 'ID of the SkillSet.');