@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * the name of the field |
| 142 | 142 | * @param string $key |
| 143 | 143 | * the value of the key |
| 144 | - * @param mixed $value |
|
| 144 | + * @param string|boolean $value |
|
| 145 | 145 | * the new value |
| 146 | 146 | */ |
| 147 | 147 | protected function setFieldValue($name, $key, $value) { |
@@ -13,13 +13,13 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Pimple\Container; |
| 15 | 15 | use Pimple\ServiceProviderInterface; |
| 16 | -use Symfony\Component\Translation\Loader\YamlFileLoader; |
|
| 17 | -use Symfony\Component\Yaml\Yaml; |
|
| 18 | 16 | use Silex\Provider\LocaleServiceProvider; |
| 19 | -use Silex\Provider\TranslationServiceProvider; |
|
| 20 | 17 | use Silex\Provider\SessionServiceProvider; |
| 18 | +use Silex\Provider\TranslationServiceProvider; |
|
| 21 | 19 | use Silex\Provider\TwigServiceProvider; |
| 22 | 20 | use Symfony\Component\Intl\Intl; |
| 21 | +use Symfony\Component\Translation\Loader\YamlFileLoader; |
|
| 22 | +use Symfony\Component\Yaml\Yaml; |
|
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * The ServiceProvider setups and initializes the whole CRUD system. |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * @param string $file |
| 24 | 24 | * the filename to stream |
| 25 | 25 | * |
| 26 | - * @return anonymous function |
|
| 26 | + * @return \Closure function |
|
| 27 | 27 | * the generated lambda |
| 28 | 28 | */ |
| 29 | 29 | public function getStreamedFileFunction($file) { |