Skip to content

Commit

Permalink
Add return type in DoctrineODMListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Baldinof committed May 9, 2023
1 parent f1c982a commit fb3cff1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Integration/Doctrine/DoctrineODMListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ public function getRegistry(): ?ManagerRegistry
return null;
}

public static function getSubscribedEvents()
/**
* @return array<string, string>
*/
public static function getSubscribedEvents(): array
{
return [
KernelEvents::TERMINATE => 'onTerminate',
Expand Down

0 comments on commit fb3cff1

Please sign in to comment.