Code Duplication    Length = 10-10 lines in 2 locations

src/MySql/Helper/TableHelper.php 2 locations

@@ 143-152 (lines=10) @@
140
            $styledColumn['column_name']     = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
141
            $styledColumn['data_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['data_table_type']);
142
          }
143
          else if (!isset($column['data_table_type']) && isset($column['audit_table_type']))
144
          {
145
            $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['audit_table_type']);
146
          }
147
          else if (strcmp($column['data_table_type'], $column['audit_table_type']))
148
          {
149
            $styledColumn['column_name']      = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
150
            $styledColumn['data_table_type']  = sprintf('<mm_type>%s</>', $styledColumn['data_table_type']);
151
            $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['audit_table_type']);
152
          }
153
        }
154
        else
155
        {
@@ 166-175 (lines=10) @@
163
              $styledColumn['column_name'] = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
164
              $styledColumn['config_type'] = sprintf('<mm_type>%s</>', $styledColumn['config_type']);
165
            }
166
            else if (!isset($configType) && isset($column['audit_table_type']))
167
            {
168
              $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $column['audit_table_type']);
169
            }
170
            else if (strcmp($configType, $column['audit_table_type']))
171
            {
172
              $styledColumn['column_name']      = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
173
              $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $column['audit_table_type']);
174
              $styledColumn['config_type']      = sprintf('<mm_type>%s</>', $styledColumn['config_type']);
175
            }
176
          }
177
        }
178
      }