@@ -27,8 +27,8 @@ |
||
| 27 | 27 | |
| 28 | 28 | return new Library( |
| 29 | 29 | ( $data['fromEventLogUuid'] |
| 30 | - ? Uuid::fromString($data['fromEventLogUuid']) |
|
| 31 | - : Uuid::fromInteger(0) ), |
|
| 30 | + ? Uuid::fromString($data['fromEventLogUuid']) |
|
| 31 | + : Uuid::fromInteger(0) ), |
|
| 32 | 32 | Uuid::fromString($data['untilEventLogUuid']), |
| 33 | 33 | $this->productBuilder->buildFromArray($data['products']), |
| 34 | 34 | $this->discountBuilder->buildFromArray($data['discounts']), |
@@ -26,9 +26,9 @@ |
||
| 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']), |