]> BookStack Code Mirror - bookstack/blobdiff - app/Search/SearchController.php
Fixed OIDC Logout
[bookstack] / app / Search / SearchController.php
index 4b134f11e2b203e36ad0286705a2eeb4e139e5f4..09a67f2b5cae6b351cb70c6ec1a29de39d4207a0 100644 (file)
@@ -9,11 +9,9 @@ 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
+    ) {
     }
 
     /**