@@ -39,6 +39,9 @@ discard block |
||
| 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 |
||
| 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 | { |