Passed
Push — master ( c9a354...a33cff )
by Guillaume
02:59
created
src/Factory/MysqlDatabaseFactory.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,14 +115,14 @@
 block discarded – undo
115 115
     }
116 116
 
117 117
 	
118
-	public function exportStructure(){
119
-		$export = [];
118
+    public function exportStructure(){
119
+        $export = [];
120 120
         $tables = $this->repositoryMysql->getTablesStructure($this->databaseName);
121 121
         foreach ($tables as $table) {
122 122
             $export[$table] = $this->getIndex($table);
123 123
             $export[$table]['columns'] = $this->getColumns($table);
124 124
         }
125 125
 		
126
-		return json_encode($export);
127
-	}
126
+        return json_encode($export);
127
+    }
128 128
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
                 continue;
76 76
             }
77 77
             $key = 'indexes';
78
-            if(!$row['NON_UNIQUE']) {
78
+            if (!$row['NON_UNIQUE']) {
79 79
                 $key = 'uniques';
80 80
             }
81
-            if(!$row['NON_FULLTEXT']) {
81
+            if (!$row['NON_FULLTEXT']) {
82 82
                 $key = 'fulltexts';
83 83
             }
84 84
             $export[$key][] = array_filter(['name' => $row['INDEX_NAME'], 'columns' => explode(',', $row['COLUMN_NAME'])]);
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
 	
118
-	public function exportStructure(){
118
+	public function exportStructure() {
119 119
 		$export = [];
120 120
         $tables = $this->repositoryMysql->getTablesStructure($this->databaseName);
121 121
         foreach ($tables as $table) {
Please login to merge, or discard this patch.