@@ -141,7 +141,9 @@ |
||
| 141 | 141 | * @param LifecycleEventArgs $args |
| 142 | 142 | */ |
| 143 | 143 | public function postUpdate(LifecycleEventArgs $args): void { |
| 144 | - if (!$this->enableIndexing) return; |
|
| 144 | + if (!$this->enableIndexing) { |
|
| 145 | + return; |
|
| 146 | + } |
|
| 145 | 147 | $this->updateEntity($args->getObject(), $args->getObjectManager()); |
| 146 | 148 | } |
| 147 | 149 | |