Skip to content
Permalink
Browse files

cs fix

  • Loading branch information...
nicolas-grekas committed Aug 13, 2019
1 parent 1a02ca4 commit 9b661137018b10a2b561ac9810ebd0d4c8e213b0
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 9b66113

Please sign in to comment.
You can’t perform that action at this time.