Skip to content

Commit 5fc47d6

Browse files
committed
Remove \ReflectionProperty::setAccessible(true) calls
1 parent 8a9a52c commit 5fc47d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Debug/TraceableEventDispatcher.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ private function getListenersWithPriority(): array
348348
$result = [];
349349

350350
$allListeners = new \ReflectionProperty(EventDispatcher::class, 'listeners');
351-
$allListeners->setAccessible(true);
352351

353352
foreach ($allListeners->getValue($this->dispatcher) as $eventName => $listenersByPriority) {
354353
foreach ($listenersByPriority as $priority => $listeners) {

0 commit comments

Comments
 (0)