@@ -65,13 +65,13 @@ discard block |
||
65 | 65 | return; |
66 | 66 | } |
67 | 67 | |
68 | - /** |
|
69 | - * @param $sqlSyntax string |
|
70 | - * |
|
71 | - * Setter function for the sqlSyntax global property |
|
72 | - * |
|
73 | - * @return null |
|
74 | - */ |
|
68 | + /** |
|
69 | + * @param $sqlSyntax string |
|
70 | + * |
|
71 | + * Setter function for the sqlSyntax global property |
|
72 | + * |
|
73 | + * @return null |
|
74 | + */ |
|
75 | 75 | public function setSqlSyntax($sqlSyntax) |
76 | 76 | { |
77 | 77 | $this->sqlSyntax = $sqlSyntax; |
@@ -83,20 +83,20 @@ discard block |
||
83 | 83 | return; |
84 | 84 | } |
85 | 85 | |
86 | - /** |
|
87 | - * @return Array |
|
88 | - */ |
|
86 | + /** |
|
87 | + * @return Array |
|
88 | + */ |
|
89 | 89 | public function getJsyn() |
90 | 90 | { |
91 | 91 | return $this->jsyn; |
92 | 92 | } |
93 | 93 | |
94 | - /** |
|
95 | - * Performs extraction of the appropriate sql syntax |
|
96 | - * fromthe supplied jsyn file. |
|
97 | - * |
|
98 | - * @return null |
|
99 | - */ |
|
94 | + /** |
|
95 | + * Performs extraction of the appropriate sql syntax |
|
96 | + * fromthe supplied jsyn file. |
|
97 | + * |
|
98 | + * @return null |
|
99 | + */ |
|
100 | 100 | public function formatJsyn() |
101 | 101 | { |
102 | 102 | for ($i = 0; $i < count($this->jsyn); ++$i) { |
@@ -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; |