diff --git a/UPGRADE-4.3.md b/UPGRADE-4.3.md index 87e95721fc..2a470c36ce 100644 --- a/UPGRADE-4.3.md +++ b/UPGRADE-4.3.md @@ -74,16 +74,16 @@ EventDispatcher ```php public function __construct(EventDispatcherInterface $eventDispatcher) { $this->eventDispatcher = $eventDispatcher; - } + } ``` After: ```php - public function __construct(EventDispatcherInterface $eventDispatcher) { + public function __construct(EventDispatcherInterface $eventDispatcher) { $this->eventDispatcher = LegacyEventDispatcherProxy::decorate($eventDispatcher); } ``` - + * The `Event` class has been deprecated, use `Symfony\Contracts\EventDispatcher\Event` instead Filesystem