]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Images/GalleryImageController.php
Started Image API build
[bookstack] / app / Http / Controllers / Images / GalleryImageController.php
index 5484411d36c4208da2055e37d9e5335689c8270a..3f2f5626583dc328b72b084517bb4b8bfcb24b93 100644 (file)
@@ -10,14 +10,9 @@ use Illuminate\Validation\ValidationException;
 
 class GalleryImageController extends Controller
 {
-    protected $imageRepo;
-
-    /**
-     * GalleryImageController constructor.
-     */
-    public function __construct(ImageRepo $imageRepo)
-    {
-        $this->imageRepo = $imageRepo;
+    public function __construct(
+        protected ImageRepo $imageRepo
+    ) {
     }
 
     /**