mirror of
https://github.com/SkillDisplay/TYPO3ContentElements.git
synced 2024-11-23 19:56:08 +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()
|
public function initializeArguments()
|
||||||
{
|
{
|
||||||
$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', 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);
|
$this->registerArgument('as', 'string', 'The name of the iteration variable', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class SkillGroupingViewHelper extends AbstractViewHelper
|
||||||
{
|
{
|
||||||
/** @var Skill[] $skills */
|
/** @var Skill[] $skills */
|
||||||
$skills = $arguments['skills'];
|
$skills = $arguments['skills'];
|
||||||
/** @var SkillSet $skillSet */
|
/** @var SkillSet|null $skillSet */
|
||||||
$skillSet = $arguments['skillSet'];
|
$skillSet = $arguments['skillSet'];
|
||||||
$as = $arguments['as'];
|
$as = $arguments['as'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue