Code Duplication    Length = 10-10 lines in 2 locations

src/MySql/Helper/TableHelper.php 2 locations

@@ 116-125 (lines=10) @@
113
            $styledColumn['column_name']     = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
114
            $styledColumn['data_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['data_table_type']);
115
          }
116
          else if (!isset($column['data_table_type']) && isset($column['audit_table_type']))
117
          {
118
            $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['audit_table_type']);
119
          }
120
          else if (strcmp($column['data_table_type'], $column['audit_table_type']))
121
          {
122
            $styledColumn['column_name']      = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
123
            $styledColumn['data_table_type']  = sprintf('<mm_type>%s</>', $styledColumn['data_table_type']);
124
            $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $styledColumn['audit_table_type']);
125
          }
126
        }
127
        else
128
        {
@@ 139-148 (lines=10) @@
136
              $styledColumn['column_name'] = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
137
              $styledColumn['config_type'] = sprintf('<mm_type>%s</>', $styledColumn['config_type']);
138
            }
139
            else if (!isset($configType) && isset($column['audit_table_type']))
140
            {
141
              $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $column['audit_table_type']);
142
            }
143
            else if (strcmp($configType, $column['audit_table_type']))
144
            {
145
              $styledColumn['column_name']      = sprintf('<mm_column>%s</>', $styledColumn['column_name']);
146
              $styledColumn['audit_table_type'] = sprintf('<mm_type>%s</>', $column['audit_table_type']);
147
              $styledColumn['config_type']      = sprintf('<mm_type>%s</>', $styledColumn['config_type']);
148
            }
149
          }
150
        }
151
      }