@@ -134,7 +134,9 @@ |
||
| 134 | 134 | foreach($entities as $entity) { |
| 135 | 135 | if($this->getEntityToDocumentMapper()->isIndexable($entity)) { |
| 136 | 136 | $document = $this->getEntityToDocumentMapper()->createDocument($entityManager, $entity); |
| 137 | - if($document === false) continue; |
|
| 137 | + if($document === false) { |
|
| 138 | + continue; |
|
| 139 | + } |
|
| 138 | 140 | $this->getSearchService($entityManager)->saveDocument($document); |
| 139 | 141 | $entitiesIndexed++; |
| 140 | 142 | } |