@@ -123,7 +123,7 @@ |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | - * @param $topLevelObject string |
|
| 126 | + * @param string $topLevelObject string |
|
| 127 | 127 | * @param $crudAction string |
| 128 | 128 | * |
| 129 | 129 | * Based on the values provided in the $topLevelObject and $crudAction |
@@ -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; |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | private $sqlSyntax; |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $jsynFile |
|
| 39 | + */ |
|
| 37 | 40 | public function __construct($jsynFile, $sqlSyntax) |
| 38 | 41 | { |
| 39 | 42 | self::setJsynFile($jsynFile); |