@@ -1539,10 +1539,8 @@ public function introAction(): ResponseInterface
1539
1539
1540
1540
/**
1541
1541
* action show
1542
- *
1543
- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
1544
1542
*/
1545
- public function showAction (Quiz $ quiz = null ): ResponseInterface
1543
+ public function showAction (? Quiz $ quiz = null ): ResponseInterface
1546
1544
{
1547
1545
if (!$ quiz instanceof Quiz) {
1548
1546
$ quiz = $ this ->getDefaultQuiz ();
@@ -1674,10 +1672,8 @@ public function showAction(Quiz $quiz = null): ResponseInterface
1674
1672
1675
1673
/**
1676
1674
* action showByTag
1677
- *
1678
- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
1679
1675
*/
1680
- public function showByTagAction (Quiz $ quiz = null ): ResponseInterface
1676
+ public function showByTagAction (? Quiz $ quiz = null ): ResponseInterface
1681
1677
{
1682
1678
if (!$ quiz instanceof Quiz) {
1683
1679
$ quiz = $ this ->getDefaultQuiz ();
@@ -1976,10 +1972,8 @@ public function showAjaxAction(Quiz $quiz): ResponseInterface
1976
1972
1977
1973
/**
1978
1974
* action result
1979
- *
1980
- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
1981
1975
*/
1982
- public function resultAction (Quiz $ quiz = null ): ResponseInterface
1976
+ public function resultAction (? Quiz $ quiz = null ): ResponseInterface
1983
1977
{
1984
1978
if (!$ quiz instanceof Quiz) {
1985
1979
$ quiz = $ this ->getDefaultQuiz ();
@@ -2043,10 +2037,8 @@ public function resultAction(Quiz $quiz = null): ResponseInterface
2043
2037
2044
2038
/**
2045
2039
* action highscore
2046
- *
2047
- * @param \Fixpunkt\FpMasterquiz\Domain\Model\Quiz||null $quiz
2048
2040
*/
2049
- public function highscoreAction (Quiz $ quiz = null ): ResponseInterface
2041
+ public function highscoreAction (? Quiz $ quiz = null ): ResponseInterface
2050
2042
{
2051
2043
if (!$ quiz instanceof Quiz) {
2052
2044
$ quiz = $ this ->getDefaultQuiz ();
@@ -2289,7 +2281,7 @@ protected function addDocHeaderDropDown(string $currentAction): void
2289
2281
$ this ->moduleTemplate ->getDocHeaderComponent ()->getMenuRegistry ()->addMenu ($ actionMenu );
2290
2282
}
2291
2283
2292
- protected function getModuleUri (string $ controller = null , string $ action = null ): string
2284
+ protected function getModuleUri (? string $ controller = null , ? string $ action = null ): string
2293
2285
{
2294
2286
return $ this ->uriBuilder ->reset ()->uriFor ($ action , null , $ controller , 'mod1 ' );
2295
2287
}
0 commit comments