浏览代码

various fixes

Olivier Massot 1 年之前
父节点
当前提交
357161abc2
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 1
      ot_admin/Classes/Command/ClearSiteCacheCommand.php
  2. 1 3
      ot_admin/Classes/Controller/ScanController.php

+ 3 - 1
ot_admin/Classes/Command/ClearSiteCacheCommand.php

@@ -25,7 +25,9 @@ class ClearSiteCacheCommand extends Command
 {
     public function __construct(
         private readonly SiteController $siteController
-    ) {}
+    ) {
+        parent::__construct();
+    }
 
     /**
      * -- This method is expected by Typo3, do not rename ou remove --

+ 1 - 3
ot_admin/Classes/Controller/ScanController.php

@@ -17,9 +17,7 @@ class ScanController extends ActionController
     public function __construct(
         private readonly SiteController $siteController,
         private readonly OrganizationRepository $organizationRepository
-    ) {
-        parent::__construct();
-    }
+    ) {}
 
     /**
      * Perform a full scan of the Typo3 DB, and confront it to the