Completed
Push — master ( faaee8...67673d )
by Florian
02:35
created
Services/Mapping/DocumentToEntityMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.