Skip to content

Commit f892040

Browse files
committed
fix return types after merge
1 parent 00790ca commit f892040

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

DataCollector/EventDataCollector.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,8 @@ public function setCalledListeners(array $listeners)
8181

8282
/**
8383
* @see TraceableEventDispatcher
84-
*
85-
* @return array|Data
8684
*/
87-
public function getCalledListeners()
85+
public function getCalledListeners(): array|Data
8886
{
8987
return $this->data['called_listeners'];
9088
}
@@ -99,10 +97,8 @@ public function setNotCalledListeners(array $listeners)
9997

10098
/**
10199
* @see TraceableEventDispatcher
102-
*
103-
* @return array|Data
104100
*/
105-
public function getNotCalledListeners()
101+
public function getNotCalledListeners(): array|Data
106102
{
107103
return $this->data['not_called_listeners'];
108104
}
@@ -119,10 +115,8 @@ public function setOrphanedEvents(array $events)
119115

120116
/**
121117
* @see TraceableEventDispatcher
122-
*
123-
* @return array|Data
124118
*/
125-
public function getOrphanedEvents()
119+
public function getOrphanedEvents(): array|Data
126120
{
127121
return $this->data['orphaned_events'];
128122
}

0 commit comments

Comments
 (0)