Skip to content

Commit fb3cff1

Browse files
committed
Add return type in DoctrineODMListener
1 parent f1c982a commit fb3cff1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Integration/Doctrine/DoctrineODMListener.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ public function getRegistry(): ?ManagerRegistry
6161
return null;
6262
}
6363

64-
public static function getSubscribedEvents()
64+
/**
65+
* @return array<string, string>
66+
*/
67+
public static function getSubscribedEvents(): array
6568
{
6669
return [
6770
KernelEvents::TERMINATE => 'onTerminate',

0 commit comments

Comments
 (0)