Code Duplication    Length = 7-7 lines in 2 locations

src/voku/db/DB.php 2 locations

@@ 954-960 (lines=7) @@
951
            $varCleaned[$key] = $value;
952
          }
953
954
          if ($convert_array === true) {
955
            $varCleaned = \implode(',', $varCleaned);
956
957
            $var = $varCleaned;
958
          } else {
959
            $var = $varCleaned;
960
          }
961
962
        }
963
        break;
@@ 1873-1879 (lines=7) @@
1870
          $varCleaned[$key] = $value;
1871
        }
1872
1873
        if ($convert_array === true) {
1874
          $varCleaned = \implode(',', $varCleaned);
1875
1876
          $var = $varCleaned;
1877
        } else {
1878
          $var = $varCleaned;
1879
        }
1880
1881
      }
1882