@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | { |
52 | 52 | $tzSign = $payloadTimezoneOffset >= 0 ? '+' : '-'; |
53 | 53 | $offsetInHours = $payloadTimezoneOffset / 60; |
54 | - $tz = $tzSign . str_pad($offsetInHours * 100, 4, '0', STR_PAD_LEFT); |
|
54 | + $tz = $tzSign.str_pad($offsetInHours * 100, 4, '0', STR_PAD_LEFT); |
|
55 | 55 | $dateTime = new DateTime('now', new DateTimeZone($tz)); |
56 | 56 | $dateTime->setTimestamp($timestamp); |
57 | 57 | return $dateTime; |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | public function createNewSwarmSchema() |
113 | 113 | { |
114 | - $json = file_get_contents(__DIR__ . '/swarm.struct.json'); |
|
114 | + $json = file_get_contents(__DIR__.'/swarm.struct.json'); |
|
115 | 115 | $builder = new SchemaImporter('swarm', $json, true); |
116 | 116 | if (!$builder->build()) { |
117 | 117 | msg('something went wrong while saving', -1); |