X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3b31ac75ec41b3990cea770a9e48e2066bd8e9a3..refs/pull/4389/head:/app/Users/Controllers/UserController.php diff --git a/app/Users/Controllers/UserController.php b/app/Users/Controllers/UserController.php index b185f0856..1c1b7ba23 100644 --- a/app/Users/Controllers/UserController.php +++ b/app/Users/Controllers/UserController.php @@ -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 + ) { } /**