diff --git a/Classes/ViewHelpers/LoginFormViewHelper.php b/Classes/ViewHelpers/LoginFormViewHelper.php index 0bc68e98..ba7a3a60 100644 --- a/Classes/ViewHelpers/LoginFormViewHelper.php +++ b/Classes/ViewHelpers/LoginFormViewHelper.php @@ -205,13 +205,13 @@ protected function addFieldNamePrefixToViewHelperVariableContainer(): void /** * Renders a hidden form field containing the technical identity of the given object. * - * @param object $object Object to create the identity field for + * @param mixed $object Object to create the identity field for * @param string $name Name * * @return string A hidden field containing the Identity (UID in TYPO3 Flow, uid in Extbase) of the given object or NULL if the object is unknown to the persistence framework * @see \TYPO3\CMS\Extbase\Mvc\Controller\Argument::setValue() */ - protected function renderHiddenIdentityField(?object $object, ?string $name): string + protected function renderHiddenIdentityField(mixed $object, ?string $name): string { if ($object instanceof LazyLoadingProxy) { $object = $object->_loadRealInstance();