@@ -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) { |
@@ -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\Translation\Translator; |
|
24 | 23 | use Symfony\Component\Yaml\Yaml; |
25 | 24 | |
26 | 25 | /** |
@@ -274,7 +274,7 @@ |
||
274 | 274 | */ |
275 | 275 | public function register(Container $app) { |
276 | 276 | $app['crud'] = function() use ($app) { |
277 | - $result = new static(); |
|
277 | + $result = new static(); |
|
278 | 278 | return $result; |
279 | 279 | }; |
280 | 280 | } |