diff --git a/Classes/Controller/NewController.php b/Classes/Controller/NewController.php index a0f6076..853e935 100644 --- a/Classes/Controller/NewController.php +++ b/Classes/Controller/NewController.php @@ -54,7 +54,7 @@ public function initializeCreateAction() * @param User|\In2code\Femanager\Domain\Model\User $user * @return void */ - public function newAction(\In2code\Femanager\Domain\Model\User $user = null) + public function newAction($user = null) { //get kitodo ID if set $kitodoParams = GeneralUtility::_GET('tx_dlf'); @@ -73,7 +73,7 @@ public function newAction(\In2code\Femanager\Domain\Model\User $user = null) * @TYPO3\CMS\Extbase\Annotation\Validate("In2code\Femanager\Domain\Validator\CaptchaValidator", param="user") * @return void */ - public function createAction(\In2code\Femanager\Domain\Model\User $user) + public function createAction($user) { // change e-mail @@ -107,7 +107,7 @@ public function createAction(\In2code\Femanager\Domain\Model\User $user) * @return void * @throws UnsupportedRequestTypeException */ - protected function createUserConfirmationRequest(\In2code\Femanager\Domain\Model\User $user) + protected function createUserConfirmationRequest($user) { $this->sendCreateUserConfirmationMail($user); $this->addFlashMessage(LocalizationUtility::translate($this->settings['new']['changeEmail'] ? 'emailChangedRequestWaitingForUserConfirm' : 'createRequestWaitingForUserConfirm', 'DigasFeManagement'));