1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00
This commit is contained in:
Jeremy Benoist 2016-08-17 14:18:28 +02:00
parent 6dfac457d8
commit 0cecfa2536
3 changed files with 7 additions and 5 deletions

View file

@ -16,7 +16,7 @@ class StringToListTransformer implements DataTransformerInterface
private $separator; private $separator;
/** /**
* @param string $separator The separator used in the list. * @param string $separator The separator used in the list
*/ */
public function __construct($separator = ',') public function __construct($separator = ',')
{ {

View file

@ -21,7 +21,9 @@ class ConfigType extends AbstractType
{ {
$this->themes = array_combine( $this->themes = array_combine(
$themes, $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; $this->languages = $languages;

View file

@ -25,7 +25,7 @@ class RuleBasedTagger
/** /**
* Add tags from rules defined by the user. * Add tags from rules defined by the user.
* *
* @param Entry $entry Entry to tag. * @param Entry $entry Entry to tag
*/ */
public function tag(Entry $entry) public function tag(Entry $entry)
{ {
@ -49,7 +49,7 @@ class RuleBasedTagger
* *
* @param User $user * @param User $user
* *
* @return array<Entry> A list of modified entries. * @return array<Entry> A list of modified entries
*/ */
public function tagAllForUser(User $user) public function tagAllForUser(User $user)
{ {
@ -75,7 +75,7 @@ class RuleBasedTagger
/** /**
* Fetch a tag. * Fetch a tag.
* *
* @param string $label The tag's label. * @param string $label The tag's label
* *
* @return Tag * @return Tag
*/ */