Skip to content

Commit d507118

Browse files
Fix call to parent function newAction()
1 parent 7a4a967 commit d507118

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Classes/Controller/NewController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,16 @@ public function initializeCreateAction()
5151
/**
5252
* Render registration form
5353
*
54-
* @param User|\In2code\Femanager\Domain\Model\User $user
5554
* @return ResponseInterface
5655
*/
57-
public function newAction(\In2code\Femanager\Domain\Model\User $user = null): ResponseInterface
56+
public function newAction(): ResponseInterface
5857
{
5958
//get kitodo ID if set
6059
$kitodoParams = GeneralUtility::_GET('tx_dlf');
6160
$this->view->assign('kitodoParams', $kitodoParams);
6261

6362
$this->view->assign('currentUser', $this->user);
64-
return parent::newAction($user);
63+
return parent::newAction();
6564
}
6665

6766
/**

0 commit comments

Comments
 (0)