@@ -23,7 +23,6 @@ |
||
23 | 23 | /** |
24 | 24 | * Tries to create a document from the given object |
25 | 25 | * |
26 | - * @param object $object |
|
27 | 26 | * @return object Returns false if no document could be created |
28 | 27 | */ |
29 | 28 | public function getEntity(Document $document): ?object; |
@@ -53,8 +53,9 @@ |
||
53 | 53 | * @required |
54 | 54 | */ |
55 | 55 | public function setObjectManager(EntityManagerInterface $om): void { |
56 | - if($this->objectManager) |
|
57 | - return; |
|
56 | + if($this->objectManager) { |
|
57 | + return; |
|
58 | + } |
|
58 | 59 | $this->objectManager = $om; |
59 | 60 | } |
60 | 61 |