diff options
3 files changed, 7 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Form/DataTransformer/StringToListTransformer.php b/src/Wallabag/CoreBundle/Form/DataTransformer/StringToListTransformer.php index b712ad15..cb4bee83 100644 --- a/src/Wallabag/CoreBundle/Form/DataTransformer/StringToListTransformer.php +++ b/src/Wallabag/CoreBundle/Form/DataTransformer/StringToListTransformer.php | |||
@@ -16,7 +16,7 @@ class StringToListTransformer implements DataTransformerInterface | |||
16 | private $separator; | 16 | private $separator; |
17 | 17 | ||
18 | /** | 18 | /** |
19 | * @param string $separator The separator used in the list. | 19 | * @param string $separator The separator used in the list |
20 | */ | 20 | */ |
21 | public function __construct($separator = ',') | 21 | public function __construct($separator = ',') |
22 | { | 22 | { |
diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php index 74c53bf0..7d25cc80 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php | |||
@@ -21,7 +21,9 @@ class ConfigType extends AbstractType | |||
21 | { | 21 | { |
22 | $this->themes = array_combine( | 22 | $this->themes = array_combine( |
23 | $themes, | 23 | $themes, |
24 | array_map(function ($s) { return ucwords(strtolower(str_replace('-', ' ', $s))); }, $themes) | 24 | array_map(function ($s) { |
25 | return ucwords(strtolower(str_replace('-', ' ', $s))); | ||
26 | }, $themes) | ||
25 | ); | 27 | ); |
26 | 28 | ||
27 | $this->languages = $languages; | 29 | $this->languages = $languages; |
diff --git a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php index 14ef4a64..239d09ae 100644 --- a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php +++ b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |||
@@ -25,7 +25,7 @@ class RuleBasedTagger | |||
25 | /** | 25 | /** |
26 | * Add tags from rules defined by the user. | 26 | * Add tags from rules defined by the user. |
27 | * | 27 | * |
28 | * @param Entry $entry Entry to tag. | 28 | * @param Entry $entry Entry to tag |
29 | */ | 29 | */ |
30 | public function tag(Entry $entry) | 30 | public function tag(Entry $entry) |
31 | { | 31 | { |
@@ -49,7 +49,7 @@ class RuleBasedTagger | |||
49 | * | 49 | * |
50 | * @param User $user | 50 | * @param User $user |
51 | * | 51 | * |
52 | * @return array<Entry> A list of modified entries. | 52 | * @return array<Entry> A list of modified entries |
53 | */ | 53 | */ |
54 | public function tagAllForUser(User $user) | 54 | public function tagAllForUser(User $user) |
55 | { | 55 | { |
@@ -75,7 +75,7 @@ class RuleBasedTagger | |||
75 | /** | 75 | /** |
76 | * Fetch a tag. | 76 | * Fetch a tag. |
77 | * | 77 | * |
78 | * @param string $label The tag's label. | 78 | * @param string $label The tag's label |
79 | * | 79 | * |
80 | * @return Tag | 80 | * @return Tag |
81 | */ | 81 | */ |