@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @see \StingerSoft\EntitySearchBundle\Services\SearchService::setObjectManager() |
| 32 | 32 | */ |
| 33 | 33 | public function setObjectManager(ObjectManager $om) { |
| 34 | - if($this->objectManager) |
|
| 34 | + if ($this->objectManager) |
|
| 35 | 35 | return; |
| 36 | 36 | $this->objectManager = $om; |
| 37 | 37 | } |
@@ -31,8 +31,9 @@ |
||
| 31 | 31 | * @see \StingerSoft\EntitySearchBundle\Services\SearchService::setObjectManager() |
| 32 | 32 | */ |
| 33 | 33 | public function setObjectManager(ObjectManager $om) { |
| 34 | - if($this->objectManager) |
|
| 35 | - return; |
|
| 34 | + if($this->objectManager) { |
|
| 35 | + return; |
|
| 36 | + } |
|
| 36 | 37 | $this->objectManager = $om; |
| 37 | 38 | } |
| 38 | 39 | |