| @@ -612,7 +612,7 @@ | ||
| 612 | 612 | * the name of the field | 
| 613 | 613 | * @param string $key | 
| 614 | 614 | * the value of the key | 
| 615 | - * @param mixed $value | |
| 615 | + * @param string $value | |
| 616 | 616 | * the new value | 
| 617 | 617 | */ | 
| 618 | 618 |      public function setField($name, $key, $value) { | 
| @@ -220,7 +220,7 @@ | ||
| 220 | 220 | return ['id' => $value]; | 
| 221 | 221 | }, $filter[$filterField]); | 
| 222 | 222 | $filterToUse[$filterField] = $filter[$filterField]; | 
| 223 | -                } else if (in_array($type, ['text', 'multiline', 'fixed'])){ | |
| 223 | +                } else if (in_array($type, ['text', 'multiline', 'fixed'])) { | |
| 224 | 224 | $filterToUse[$filterField] = '%'.$filter[$filterField].'%'; | 
| 225 | 225 | $filterOperators[$filterField] = 'LIKE'; | 
| 226 | 226 | } | 
| @@ -20,7 +20,6 @@ | ||
| 20 | 20 | use Silex\Provider\TranslationServiceProvider; | 
| 21 | 21 | use Silex\Provider\TwigServiceProvider; | 
| 22 | 22 | use Symfony\Component\Translation\Loader\YamlFileLoader; | 
| 23 | -use Symfony\Component\Yaml\Yaml; | |
| 24 | 23 | |
| 25 | 24 | /** | 
| 26 | 25 | * The ServiceProvider setups and initializes the whole CRUD system. |