@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | public function __construct($jsonStructureFile, $sqlVendor) |
113 | 113 | { |
114 | - if (is_array($jsonStructureFile)){ |
|
114 | + if (is_array($jsonStructureFile)) { |
|
115 | 115 | $this->jsonStructure = $jsonStructureFile; |
116 | 116 | } |
117 | 117 | else { |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | if ($toSetValue && !is_bool($jsonStructure[$topLevelObject][$_string])) { |
335 | 335 | $jsyn[$i] = $jsonStructure[$topLevelObject][$_string]; |
336 | 336 | } else { |
337 | - if ($replaceWithComma){ |
|
337 | + if ($replaceWithComma) { |
|
338 | 338 | $string = ", $string"; |
339 | 339 | } |
340 | 340 | $jsyn[$i] = (isset($jsonStructure[$topLevelObject][$_string]) && $jsonStructure[$topLevelObject][$_string] == true) ? strtoupper($string) : null; |
@@ -113,8 +113,7 @@ |
||
113 | 113 | { |
114 | 114 | if (is_array($jsonStructureFile)){ |
115 | 115 | $this->jsonStructure = $jsonStructureFile; |
116 | - } |
|
117 | - else { |
|
116 | + } else { |
|
118 | 117 | $this->jsonStructure = self::getObjectFromJsonFile($jsonStructureFile); |
119 | 118 | } |
120 | 119 | $this->sqlVendor = $sqlVendor; |