]> BookStack Code Mirror - bookstack/blobdiff - app/Users/Controllers/UserController.php
Comments: Added text for new activity types
[bookstack] / app / Users / Controllers / UserController.php
index b185f0856410ccdc4ca4d2fecfea5ff80481f031..1c1b7ba23903ae48465ac81ade2f742bb507ad5d 100644 (file)
@@ -19,13 +19,10 @@ use Illuminate\Validation\ValidationException;
 
 class UserController extends Controller
 {
-    protected UserRepo $userRepo;
-    protected ImageRepo $imageRepo;
-
-    public function __construct(UserRepo $userRepo, ImageRepo $imageRepo)
-    {
-        $this->userRepo = $userRepo;
-        $this->imageRepo = $imageRepo;
+    public function __construct(
+        protected UserRepo $userRepo,
+        protected ImageRepo $imageRepo
+    ) {
     }
 
     /**