@@ -54,8 +54,7 @@ |
||
| 54 | 54 | if (method_exists($events, 'setEventPrototype')) { |
| 55 | 55 | $event = $serviceLocator->has($config['event']) ? $serviceLocator->get($config['event']) : new $config['event'](); |
| 56 | 56 | $events->setEventPrototype($event); |
| 57 | - } |
|
| 58 | - else { |
|
| 57 | + } else { |
|
| 59 | 58 | $events->setEventClass($config['event']); |
| 60 | 59 | } |
| 61 | 60 | |