Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
52 | public function getLabelContent(): ?string |
||
53 | { |
||
54 | if (!isset($this->response->createShipmentResult)) { |
||
|
|||
55 | return ''; |
||
56 | } |
||
57 | |||
58 | $this->flashBag->add('success', 'bitbag.ui.shipment_data_has_been_exported'); // Add success notification |
||
59 | |||
60 | return base64_decode($this->response->createShipmentResult->label->labelContent); |
||
61 | } |
||
63 |