diff options
Diffstat (limited to 'core/Controller/SearchController.php')
-rw-r--r-- | core/Controller/SearchController.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php index 95d100a393d..5881ec2db86 100644 --- a/core/Controller/SearchController.php +++ b/core/Controller/SearchController.php @@ -28,23 +28,20 @@ namespace OC\Core\Controller; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\JSONResponse; -use OCP\ILogger; use OCP\IRequest; use OCP\ISearch; use OCP\Search\Result; +use Psr\Log\LoggerInterface; class SearchController extends Controller { - - /** @var ISearch */ - private $searcher; - /** @var ILogger */ - private $logger; + private ISearch $searcher; + private LoggerInterface $logger; public function __construct( string $appName, IRequest $request, ISearch $search, - ILogger $logger + LoggerInterface $logger ) { parent::__construct($appName, $request); |