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