|
@@ -85,10 +85,10 @@ |
|
|
block discarded – undo |
|
85
|
85
|
|
|
86
|
86
|
foreach ($configuredEvents as $operationClass => $events) { |
|
87
|
87
|
foreach ($events as $entityClass => $eventNames) { |
|
88
|
|
- array_map(function (string $eventName) use ($operationClass, $entityClass) { |
|
|
88
|
+ array_map(function(string $eventName) use ($operationClass, $entityClass) { |
|
89
|
89
|
$this->dispatcher->addListener( |
|
90
|
90
|
$eventName, |
|
91
|
|
- function (GenericEvent $event) use ($eventName, $operationClass, $entityClass) { |
|
|
91
|
+ function(GenericEvent $event) use ($eventName, $operationClass, $entityClass) { |
|
92
|
92
|
$ruleMatcher = $this->manager->getRuleMatcher(); |
|
93
|
93
|
try { |
|
94
|
94
|
/** @var IEntity $entity */ |
Please login to merge, or discard this patch.