EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
cs
Yuri Kuznetsov85843a4dd0fb
diff --git a/application/Espo/EntryPoints/Pdf.php b/application/Espo/EntryPoints/Pdf.phpindex 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{