diff --git a/src/Panel/MailPanel.php b/src/Panel/MailPanel.php index 609f1c31..c44a4f79 100644 --- a/src/Panel/MailPanel.php +++ b/src/Panel/MailPanel.php @@ -42,7 +42,6 @@ public function initialize(): void { $reflection = new ReflectionClass(TransportFactory::class); $property = $reflection->getProperty('_config'); - $property->setAccessible(true); /** @var array<\Cake\Mailer\AbstractTransport|array> $configs */ $configs = $property->getValue();