]> BookStack Code Mirror - bookstack/blobdiff - app/Search/SearchController.php
Fixed OIDC Logout
[bookstack] / app / Search / SearchController.php
index aabc17a41f951f73f64f00fb5614fcb2c6790216..09a67f2b5cae6b351cb70c6ec1a29de39d4207a0 100644 (file)
@@ -4,16 +4,14 @@ namespace BookStack\Search;
 
 use BookStack\Entities\Queries\Popular;
 use BookStack\Entities\Tools\SiblingFetcher;
-use BookStack\Http\Controllers\Controller;
+use BookStack\Http\Controller;
 use Illuminate\Http\Request;
 
 class SearchController extends Controller
 {
-    protected SearchRunner $searchRunner;
-
-    public function __construct(SearchRunner $searchRunner)
-    {
-        $this->searchRunner = $searchRunner;
+    public function __construct(
+        protected SearchRunner $searchRunner
+    ) {
     }
 
     /**