@@ -1539,10 +1539,8 @@ public function introAction(): ResponseInterface
15391539
15401540 /**
15411541 * action show
1542- *
1543- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
15441542 */
1545- public function showAction (Quiz $ quiz = null ): ResponseInterface
1543+ public function showAction (? Quiz $ quiz = null ): ResponseInterface
15461544 {
15471545 if (!$ quiz instanceof Quiz) {
15481546 $ quiz = $ this ->getDefaultQuiz ();
@@ -1674,10 +1672,8 @@ public function showAction(Quiz $quiz = null): ResponseInterface
16741672
16751673 /**
16761674 * action showByTag
1677- *
1678- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
16791675 */
1680- public function showByTagAction (Quiz $ quiz = null ): ResponseInterface
1676+ public function showByTagAction (? Quiz $ quiz = null ): ResponseInterface
16811677 {
16821678 if (!$ quiz instanceof Quiz) {
16831679 $ quiz = $ this ->getDefaultQuiz ();
@@ -1976,10 +1972,8 @@ public function showAjaxAction(Quiz $quiz): ResponseInterface
19761972
19771973 /**
19781974 * action result
1979- *
1980- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
19811975 */
1982- public function resultAction (Quiz $ quiz = null ): ResponseInterface
1976+ public function resultAction (? Quiz $ quiz = null ): ResponseInterface
19831977 {
19841978 if (!$ quiz instanceof Quiz) {
19851979 $ quiz = $ this ->getDefaultQuiz ();
@@ -2043,10 +2037,8 @@ public function resultAction(Quiz $quiz = null): ResponseInterface
20432037
20442038 /**
20452039 * action highscore
2046- *
2047- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
20482040 */
2049- public function highscoreAction (Quiz $ quiz = null ): ResponseInterface
2041+ public function highscoreAction (? Quiz $ quiz = null ): ResponseInterface
20502042 {
20512043 if (!$ quiz instanceof Quiz) {
20522044 $ quiz = $ this ->getDefaultQuiz ();
@@ -2289,7 +2281,7 @@ protected function addDocHeaderDropDown(string $currentAction): void
22892281 $ this ->moduleTemplate ->getDocHeaderComponent ()->getMenuRegistry ()->addMenu ($ actionMenu );
22902282 }
22912283
2292- protected function getModuleUri (string $ controller = null , string $ action = null ): string
2284+ protected function getModuleUri (? string $ controller = null , ? string $ action = null ): string
22932285 {
22942286 return $ this ->uriBuilder ->reset ()->uriFor ($ action , null , $ controller , 'mod1 ' );
22952287 }
0 commit comments