From ecdb3cf75936e9a95b352b1586fdd0b36c3c01d9 Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Mon, 5 Feb 2024 09:53:36 +0100 Subject: [PATCH] Cleanup fix cs --- mod1/class.tx_mksearch_mod1_ConfigIndizes.php | 2 +- mod1/class.tx_mksearch_mod1_IndizeIndizes.php | 2 +- mod1/class.tx_mksearch_mod1_Keywords.php | 2 +- mod1/class.tx_mksearch_mod1_SolrAdmin.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mod1/class.tx_mksearch_mod1_ConfigIndizes.php b/mod1/class.tx_mksearch_mod1_ConfigIndizes.php index 0b50ba48..3c791011 100644 --- a/mod1/class.tx_mksearch_mod1_ConfigIndizes.php +++ b/mod1/class.tx_mksearch_mod1_ConfigIndizes.php @@ -24,7 +24,7 @@ public function getPid() return $this->getModule()->getPid(); } - public function main(ServerRequestInterface $request = null) + public function main(?ServerRequestInterface $request = null) { return tx_mksearch_mod1_util_Misc::getSubModuleContent( parent::main($request), diff --git a/mod1/class.tx_mksearch_mod1_IndizeIndizes.php b/mod1/class.tx_mksearch_mod1_IndizeIndizes.php index 1f30f457..a4819500 100644 --- a/mod1/class.tx_mksearch_mod1_IndizeIndizes.php +++ b/mod1/class.tx_mksearch_mod1_IndizeIndizes.php @@ -24,7 +24,7 @@ public function getPid() return $this->getModule()->getPid(); } - public function main(ServerRequestInterface $request = null) + public function main(?ServerRequestInterface $request = null) { return tx_mksearch_mod1_util_Misc::getSubModuleContent( parent::main($request), diff --git a/mod1/class.tx_mksearch_mod1_Keywords.php b/mod1/class.tx_mksearch_mod1_Keywords.php index 7fa1fceb..f7b78890 100644 --- a/mod1/class.tx_mksearch_mod1_Keywords.php +++ b/mod1/class.tx_mksearch_mod1_Keywords.php @@ -24,7 +24,7 @@ public function getPid() return $this->getModule()->getPid(); } - public function main(ServerRequestInterface $request = null) + public function main(?ServerRequestInterface $request = null) { return tx_mksearch_mod1_util_Misc::getSubModuleContent(parent::main($request), $this, 'web_MksearchM1_keywords'); } diff --git a/mod1/class.tx_mksearch_mod1_SolrAdmin.php b/mod1/class.tx_mksearch_mod1_SolrAdmin.php index 91929db2..bc304f79 100644 --- a/mod1/class.tx_mksearch_mod1_SolrAdmin.php +++ b/mod1/class.tx_mksearch_mod1_SolrAdmin.php @@ -27,7 +27,7 @@ public function getPid() return $this->getModule()->getPid(); } - public function main(ServerRequestInterface $request = null) + public function main(?ServerRequestInterface $request = null) { return tx_mksearch_mod1_util_Misc::getSubModuleContent( parent::main($request),