소스 검색

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