Completed
Push — master ( f33138...47ba09 )
by Samuel
02:41
created
src/JsonDbStructure.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.