| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 3 | /** |
|
| 29 | * @param InventorySerializer $inv |
||
| 30 | 3 | */ |
|
| 31 | 3 | public function __construct(InventorySerializer $inv) |
|
| 32 | 3 | { |
|
| 33 | 3 | $this->invSerializer = $inv; |
|
| 34 | 3 | $this->vectorInvSer = Types::vector(function (Parser $parser): Inventory { |
|
| 35 | return $this->invSerializer->fromParser($parser); |
||
| 36 | }); |
||
| 67 |