@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | return; |
22 | 22 | } |
23 | 23 | |
24 | - if (! $value instanceof \DateInterval) { |
|
24 | + if (!$value instanceof \DateInterval) { |
|
25 | 25 | $value = new \DateInterval((string) $value); |
26 | 26 | } |
27 | 27 | |
@@ -52,14 +52,14 @@ discard block |
||
52 | 52 | return null; |
53 | 53 | } |
54 | 54 | |
55 | - return 'PT' . $timeFormat; |
|
55 | + return 'PT'.$timeFormat; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | if ($timeFormat === '') { |
59 | - return 'P' . $baseFormat; |
|
59 | + return 'P'.$baseFormat; |
|
60 | 60 | } |
61 | 61 | |
62 | - return 'P' . $baseFormat . 'T' . $timeFormat; |
|
62 | + return 'P'.$baseFormat.'T'.$timeFormat; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |