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