Completed
Push — master ( 1d0a45...d5051b )
by Samuel
02:32
created
src/JsonDbStructure.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@
 block discarded – undo
345 345
                 }
346 346
             }
347 347
         }
348
-       //echo "<pre>".print_r($jsyn)."</pre>";
348
+        //echo "<pre>".print_r($jsyn)."</pre>";
349 349
         return implode(' ', $jsyn);
350 350
     }
351 351
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/JsynExtractor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.