summaryrefslogtreecommitdiffstats
path: root/core/Controller/UnifiedSearchController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/UnifiedSearchController.php')
-rw-r--r--core/Controller/UnifiedSearchController.php18
1 files changed, 4 insertions, 14 deletions
diff --git a/core/Controller/UnifiedSearchController.php b/core/Controller/UnifiedSearchController.php
index bfed6d606ae..3290307dc23 100644
--- a/core/Controller/UnifiedSearchController.php
+++ b/core/Controller/UnifiedSearchController.php
@@ -40,18 +40,10 @@ use OCP\Search\ISearchQuery;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
class UnifiedSearchController extends OCSController {
-
- /** @var SearchComposer */
- private $composer;
-
- /** @var IUserSession */
- private $userSession;
-
- /** @var IRouter */
- private $router;
-
- /** @var IURLGenerator */
- private $urlGenerator;
+ private SearchComposer $composer;
+ private IUserSession $userSession;
+ private IRouter $router;
+ private IURLGenerator $urlGenerator;
public function __construct(IRequest $request,
IUserSession $userSession,
@@ -71,8 +63,6 @@ class UnifiedSearchController extends OCSController {
* @NoCSRFRequired
*
* @param string $from the url the user is currently at
- *
- * @return DataResponse
*/
public function getProviders(string $from = ''): DataResponse {
[$route, $parameters] = $this->getRouteInformation($from);