Completed
Pull Request — 3.x (#5572)
by Javier
04:47
created
src/Event/LegacyEventDispatcherProxy.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
         return $this->dispatcher->{$method}(...$arguments);
40 40
     }
41 41
 
42
+    /**
43
+     * @param EventDispatcherInterface $dispatcher
44
+     */
42 45
     public static function decorate(?ContractsEventDispatcherInterface $dispatcher): ?ContractsEventDispatcherInterface
43 46
     {
44 47
         if (null === $dispatcher) {
@@ -62,7 +65,7 @@  discard block
 block discarded – undo
62 65
     /**
63 66
      * {@inheritdoc}
64 67
      *
65
-     * @param string|null $eventName
68
+     * @param string|null $event
66 69
      */
67 70
     public function dispatch($event/*, string $eventName = null*/)
68 71
     {
Please login to merge, or discard this patch.