Conditions | 3 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 3 | public function __construct(stdClass $data) |
|
19 | { |
||
20 | 3 | $container = 'accept_reject_signatureResult'; |
|
21 | 3 | parent::__construct($data, $container); |
|
22 | 3 | $aceptacion = $this->findInDescendent($data, $container, 'aceptacion'); |
|
23 | 3 | $rechazo = $this->findInDescendent($data, $container, 'rechazo'); |
|
24 | 3 | $this->uuids = new AcceptRejectUuidList( |
|
25 | 3 | array_merge( |
|
26 | 3 | is_array($aceptacion) ? $aceptacion : [], |
|
27 | 3 | is_array($rechazo) ? $rechazo : [] |
|
28 | 3 | ) |
|
29 | 3 | ); |
|
30 | 3 | $this->error = $this->get('error'); |
|
31 | } |
||
43 |