Test Setup Failed
Push — develop ( feb2ef...fcfb7f )
by Michael
01:02
created
helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.