| Conditions | 3 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function __construct(array $data, array $properties = array()) |
||
| 33 | 20 | { |
|
| 34 | 10 | if (!isset($data['parent_id'])) { |
|
| 35 | 10 | $data['parent_id'] = 12; |
|
| 36 | 20 | } |
|
| 37 | 2 | if (!isset($data['content_type_identifier'])) { |
|
| 38 | 2 | $data['content_type_identifier'] = 'user_group'; |
|
| 39 | 20 | } |
|
| 40 | 20 | parent::__construct($data, $properties); |
|
| 41 | } |
||
| 42 | |||
| 65 |