forked from wallabag/wallabag
Merge remote-tracking branch 'origin/master' into 2.1
This commit is contained in:
@ -16,7 +16,7 @@ class StringToListTransformer implements DataTransformerInterface
|
||||
private $separator;
|
||||
|
||||
/**
|
||||
* @param string $separator The separator used in the list.
|
||||
* @param string $separator The separator used in the list
|
||||
*/
|
||||
public function __construct($separator = ',')
|
||||
{
|
||||
|
||||
@ -21,7 +21,9 @@ class ConfigType extends AbstractType
|
||||
{
|
||||
$this->themes = array_combine(
|
||||
$themes,
|
||||
array_map(function ($s) { return ucwords(strtolower(str_replace('-', ' ', $s))); }, $themes)
|
||||
array_map(function ($s) {
|
||||
return ucwords(strtolower(str_replace('-', ' ', $s)));
|
||||
}, $themes)
|
||||
);
|
||||
|
||||
$this->languages = $languages;
|
||||
|
||||
Reference in New Issue
Block a user