]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Repos/ChapterRepo.php
Fixed OIDC Logout
[bookstack] / app / Entities / Repos / ChapterRepo.php
index 588854c7e91c34b05280a3458ed13ff72d5f7fa1..977193d85bbd0229a2d1a1e745dbf5fd01dd4a83 100644 (file)
@@ -16,14 +16,9 @@ use Exception;
 
 class ChapterRepo
 {
-    protected $baseRepo;
-
-    /**
-     * ChapterRepo constructor.
-     */
-    public function __construct(BaseRepo $baseRepo)
-    {
-        $this->baseRepo = $baseRepo;
+    public function __construct(
+        protected BaseRepo $baseRepo
+    ) {
     }
 
     /**