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