From b9f878fc0747a1b2cf20953f5e1afef6b9d9bb90 Mon Sep 17 00:00:00 2001 From: foobar13372 Date: Thu, 9 Jul 2020 11:06:56 +0200 Subject: [PATCH] Correct argument type, fixes #1508 --- Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(