diff --git a/application/Espo/EntryPoints/Pdf.php b/application/Espo/EntryPoints/Pdf.php index 3e907acb8e..127bcfb297 100644 --- a/application/Espo/EntryPoints/Pdf.php +++ b/application/Espo/EntryPoints/Pdf.php @@ -42,14 +42,10 @@ use Espo\Tools\Pdf\Service; class Pdf implements EntryPoint { - private EntityManager $entityManager; - private Service $service; - - public function __construct(EntityManager $entityManager, Service $service) - { - $this->entityManager = $entityManager; - $this->service = $service; - } + public function __construct( + private EntityManager $entityManager, + private Service $service, + ) {} public function run(Request $request, Response $response): void {