@@ -34,10 +34,10 @@ |
||
| 34 | 34 | public function getEntity(Document $document) { |
| 35 | 35 | $clazz = $document->getEntityClass(); |
| 36 | 36 | |
| 37 | - if($clazz == null) { |
|
| 37 | + if ($clazz == null) { |
|
| 38 | 38 | return null; |
| 39 | 39 | } |
| 40 | - if(!$document->getEntityId()) { |
|
| 40 | + if (!$document->getEntityId()) { |
|
| 41 | 41 | return null; |
| 42 | 42 | } |
| 43 | 43 | return $this->managerRegistry->getManagerForClass($clazz)->getRepository($clazz)->find($document->getEntityId()); |