We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da349ae + 1c4fad6 commit eb2ecf8Copy full SHA for eb2ecf8
1 file changed
lib/Doctrine/Common/EventManager.php
@@ -48,6 +48,7 @@ public function dispatchEvent($eventName, ?EventArgs $eventArgs = null)
48
* @param string|null $event The name of the event.
49
*
50
* @return object[]|object[][] The event listeners for the specified event, or all event listeners.
51
+ * @psalm-return ($event is null ? object[][] : object[])
52
*/
53
public function getListeners($event = null)
54
{
0 commit comments