@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | public function setBarcode($barcode) |
| 28 | 28 | { |
| 29 | - $this->barcode = (string)$barcode; |
|
| 29 | + $this->barcode = (string) $barcode; |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** |
@@ -62,10 +62,10 @@ discard block |
||
| 62 | 62 | { |
| 63 | 63 | $self = new self(); |
| 64 | 64 | if (isset($xml->barcode) && $xml->barcode != '') { |
| 65 | - $self->setBarcode((string)$xml->barcode); |
|
| 65 | + $self->setBarcode((string) $xml->barcode); |
|
| 66 | 66 | } |
| 67 | 67 | if (isset($xml->reference) && $xml->reference != '') { |
| 68 | - $self->setReference((string)$xml->reference); |
|
| 68 | + $self->setReference((string) $xml->reference); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | return $self; |