Code Duplication    Length = 4-4 lines in 2 locations

src/Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 2 locations

@@ 217-220 (lines=4) @@
214
                            $this->queryBuilder->setParameter('var_'.$uniqueId, $textValue);
215
216
                            break;
217
                        case 'contains':
218
                            $expr = $this->queryBuilder->expr()->like('t_'.$locale.'.`text`', ':var_'.$uniqueId);
219
                            $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%');
220
221
                            break;
222
                        case 'doesnotcontain':
223
                            $expr = 't_'.$locale.'.`text`'.' NOT LIKE :var_'.$uniqueId;
@@ 222-225 (lines=4) @@
219
                            $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%');
220
221
                            break;
222
                        case 'doesnotcontain':
223
                            $expr = 't_'.$locale.'.`text`'.' NOT LIKE :var_'.$uniqueId;
224
                            $this->queryBuilder->setParameter('var_'.$uniqueId, '%'.$textValue.'%');
225
226
                            break;
227
                        case 'startswith':
228
                            $expr = $this->queryBuilder->expr()->like('t_'.$locale.'.`text`', ':var_'.$uniqueId);