Skip to content

Commit 017d23b

Browse files
authored
Merge pull request #1059 from maarten00/patch-1
Fix deprecation warning for setAccessible on php 8.5
2 parents 7221213 + e999a09 commit 017d23b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Panel/MailPanel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public function initialize(): void
4242
{
4343
$reflection = new ReflectionClass(TransportFactory::class);
4444
$property = $reflection->getProperty('_config');
45-
$property->setAccessible(true);
4645
/** @var array<\Cake\Mailer\AbstractTransport|array> $configs */
4746
$configs = $property->getValue();
4847

0 commit comments

Comments
 (0)