aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/SearchController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/SearchController.php')
-rw-r--r--core/Controller/SearchController.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php
index 5881ec2db86..f839c16e8da 100644
--- a/core/Controller/SearchController.php
+++ b/core/Controller/SearchController.php
@@ -34,19 +34,13 @@ use OCP\Search\Result;
use Psr\Log\LoggerInterface;
class SearchController extends Controller {
- private ISearch $searcher;
- private LoggerInterface $logger;
-
public function __construct(
string $appName,
IRequest $request,
- ISearch $search,
- LoggerInterface $logger
+ private ISearch $searcher,
+ private LoggerInterface $logger,
) {
parent::__construct($appName, $request);
-
- $this->searcher = $search;
- $this->logger = $logger;
}
/**