@@ -329,7 +329,7 @@ |
||
329 | 329 | if ($toSetValue && !is_bool($jsonStructure[$topLevelObject][$_string])) { |
330 | 330 | $jsyn[$i] = $jsonStructure[$topLevelObject][$_string]; |
331 | 331 | } else { |
332 | - if ($replaceWithComma){ |
|
332 | + if ($replaceWithComma) { |
|
333 | 333 | $string = ", $string"; |
334 | 334 | } |
335 | 335 | $jsyn[$i] = (isset($jsonStructure[$topLevelObject][$_string]) && $jsonStructure[$topLevelObject][$_string] == true) ? strtoupper($string) : null; |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @param $topLevelObject string |
|
129 | + * @param string $topLevelObject string |
|
130 | 130 | * @param $crudAction string |
131 | 131 | * |
132 | 132 | * Based on the values provided in the $topLevelObject and $crudAction |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | |
282 | 282 | /** |
283 | 283 | * @param $jsonStructures array |
284 | - * @param $objectDefiner string |
|
284 | + * @param string $objectDefiner string |
|
285 | 285 | * |
286 | 286 | * While the {@link generateSqlFromStructure()} method above generates sql string |
287 | 287 | * from only valid top level objects, this method generates sql statements from valid |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | /** |
353 | 353 | * @param $encloserPre string |
354 | 354 | * @param $encloserPost string |
355 | - * @param $enclosee string |
|
355 | + * @param string $enclosee string |
|
356 | 356 | * |
357 | 357 | * Checks to see if a string ($enclosee) is enclosed by special characters |
358 | 358 | * such as '{' and '}' and '[' and ']'. |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | private $sqlSyntax; |
36 | 36 | |
37 | 37 | /** |
38 | - * @param $jsynFile string | PathUtil |
|
38 | + * @param string $jsynFile string | PathUtil |
|
39 | 39 | * @param $sqlSyntax string |
40 | 40 | * |
41 | 41 | * @return null |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
87 | - * @return Array |
|
87 | + * @return string |
|
88 | 88 | */ |
89 | 89 | public function getJsyn() |
90 | 90 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Returns the extracted jsyn as a string |
113 | 113 | * |
114 | - * @return null |
|
114 | + * @return string |
|
115 | 115 | */ |
116 | 116 | public function __toString() |
117 | 117 | { |
@@ -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) { |