| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 31 | 1 | public function getExtradataSerialize(): array |
|
| 32 | { |
||
| 33 | 1 | return array_map( |
|
| 34 | function (Extradata $e) { |
||
| 35 | return [ |
||
| 36 | 1 | 'name' => $e->getName(), |
|
| 37 | 1 | 'args' => array_map( |
|
| 38 | function (ExtradataParameter $a) { |
||
| 39 | return [ |
||
| 40 | 1 | 'name' => $a->name, |
|
| 41 | 1 | 'value' => $a->value |
|
| 42 | ]; |
||
| 43 | 1 | }, |
|
| 44 | 1 | $e->args |
|
| 45 | ) |
||
| 46 | ]; |
||
| 47 | 1 | }, |
|
| 48 | 1 | $this->extradata |
|
| 49 | ); |
||
| 98 |