cs fix
This commit is contained in:
parent
1a02ca4c2a
commit
9b66113701
|
@ -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
|
||||
|
|
Reference in New Issue