|
@@ -26,9 +26,9 @@ |
|
|
block discarded – undo |
|
26
|
26
|
$data = json_decode($json, true); |
|
27
|
27
|
|
|
28
|
28
|
return new Library( |
|
29
|
|
- ( $data['fromEventLogUuid'] |
|
|
29
|
+ ($data['fromEventLogUuid'] |
|
30
|
30
|
? Uuid::fromString($data['fromEventLogUuid']) |
|
31
|
|
- : Uuid::fromInteger(0) ), |
|
|
31
|
+ : Uuid::fromInteger(0)), |
|
32
|
32
|
Uuid::fromString($data['untilEventLogUuid']), |
|
33
|
33
|
$this->productBuilder->buildFromArray($data['products']), |
|
34
|
34
|
$this->discountBuilder->buildFromArray($data['discounts']), |
Please login to merge, or discard this patch.