From 9a82bc7c5a97ea66bcd83942021e07182dfa4a45 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 5 Feb 2024 19:38:05 +0200 Subject: [PATCH] cs --- application/Espo/EntryPoints/Image.php | 28 +++++++------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/application/Espo/EntryPoints/Image.php b/application/Espo/EntryPoints/Image.php index 60b0f752f1..c68890ccd8 100644 --- a/application/Espo/EntryPoints/Image.php +++ b/application/Espo/EntryPoints/Image.php @@ -57,28 +57,14 @@ class Image implements EntryPoint /** @var ?string[] */ protected $allowedFieldList = null; - private FileStorageManager $fileStorageManager; - private FileManager $fileManager; - protected Acl $acl; - protected EntityManager $entityManager; - protected Config $config; - protected Metadata $metadata; - public function __construct( - FileStorageManager $fileStorageManager, - FileManager $fileManager, - Acl $acl, - EntityManager $entityManager, - Config $config, - Metadata $metadata - ) { - $this->fileStorageManager = $fileStorageManager; - $this->fileManager = $fileManager; - $this->acl = $acl; - $this->entityManager = $entityManager; - $this->config = $config; - $this->metadata = $metadata; - } + private FileStorageManager $fileStorageManager, + private FileManager $fileManager, + protected Acl $acl, + protected EntityManager $entityManager, + protected Config $config, + protected Metadata $metadata + ) {} public function run(Request $request, Response $response): void {