mirror of
https://github.com/SkillDisplay/TYPO3ContentElements.git
synced 2024-12-04 16:06:10 +01:00
[BUGFIX] if condition is always true
This commit is contained in:
parent
60931303c0
commit
9076aa0067
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class SkillGroupingViewHelper extends AbstractViewHelper
|
|||
public function initializeArguments()
|
||||
{
|
||||
$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', false, []);
|
||||
$this->registerArgument('skillSet', SkillSet::class, 'The skills of this skill set will be grouped');
|
||||
$this->registerArgument('as', 'string', 'The name of the iteration variable', true);
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ class SkillGroupingViewHelper extends AbstractViewHelper
|
|||
{
|
||||
/** @var Skill[] $skills */
|
||||
$skills = $arguments['skills'];
|
||||
/** @var SkillSet $skillSet */
|
||||
/** @var SkillSet|null $skillSet */
|
||||
$skillSet = $arguments['skillSet'];
|
||||
$as = $arguments['as'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue