Skip to content

Commit aacea57

Browse files
authored
[BUGFIX] Fix deprecation notice for implicitly nullable $frontendUsers argument (#1936)
1 parent 0fa7611 commit aacea57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/ViewHelpers/Security/AbstractSecurityViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function assertFrontendUserLoggedIn($frontendUser = null): bool
230230
/**
231231
* Returns TRUE only if currently logged in frontend user is in list.
232232
*/
233-
public function assertFrontendUsersLoggedIn(ObjectStorage $frontendUsers = null): bool
233+
public function assertFrontendUsersLoggedIn(?ObjectStorage $frontendUsers = null): bool
234234
{
235235
if ($frontendUsers === null) {
236236
return false;

0 commit comments

Comments
 (0)