diff --git a/Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php b/Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php index 83889ed05..f4c5e8426 100644 --- a/Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php +++ b/Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php @@ -68,7 +68,7 @@ public function initializeArguments() ); $this->registerArgument( 'frontendUsers', - '\TYPO3\CMS\Extbase\Domain\Model\FrontendUser', + ObjectStorage::class, 'The FrontendUsers ObjectStorage to allow/deny' ); $this->registerArgument( @@ -78,7 +78,7 @@ public function initializeArguments() ); $this->registerArgument( 'frontendUserGroups', - '\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup', + ObjectStorage::class, 'The FrontendUserGroups ObjectStorage to allow/deny' ); $this->registerArgument(