| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 30 | 9 | public function __construct(array $data, array $properties = array())  | 
            |
| 31 |     { | 
            ||
| 32 | 9 |         if (isset($data['parents'])) { | 
            |
| 33 | 8 | $this->parents = $data['parents'];  | 
            |
| 34 | 8 | unset($data['parents']);  | 
            |
| 35 | 8 | }  | 
            |
| 36 | |||
| 37 | 9 | $data['max_login'] = isset($data['max_login']) ? $data['max_login'] : null;  | 
            |
| 38 | |||
| 39 | 9 | parent::__construct($data, $properties);  | 
            |
| 40 | 9 | }  | 
            |
| 41 | |||
| 54 |