@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | public function userGroupToObject(UserGroup $userGroup) |
| 38 | 38 | { |
| 39 | - if(!isset($this->userGroupObject->data['parent_id'])) { |
|
| 39 | + if (!isset($this->userGroupObject->data['parent_id'])) { |
|
| 40 | 40 | $this->userGroupObject->data['parent_id'] = $userGroup->parentId; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -89,9 +89,9 @@ |
||
| 89 | 89 | */ |
| 90 | 90 | public function __construct($data, array $properties = array()) |
| 91 | 91 | { |
| 92 | - if($data instanceof Content) { |
|
| 92 | + if ($data instanceof Content) { |
|
| 93 | 93 | $this->getMapper()->contentToObject($data); |
| 94 | - }else { |
|
| 94 | + } else { |
|
| 95 | 95 | parent::__construct($data, array_merge( |
| 96 | 96 | array( |
| 97 | 97 | 'main_object' => true, |