| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | 24 | public function serializeDateTime(VisitorInterface $visitor, \DateTime $date, array $type, Context $context) |
|
| 16 | 3 | { |
|
| 17 | // All dates send to Fastbill should be in Europe/Berlin timezone. |
||
| 18 | $date->setTimezone(new \DateTimeZone('Europe/Berlin')); |
||
| 19 | 21 | ||
| 20 | return parent::serializeDateTime($visitor, $date, $type, $context); |
||
| 21 | } |
||
| 22 | |||
| 42 |