mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +00:00
CS
This commit is contained in:
parent
6dfac457d8
commit
0cecfa2536
3 changed files with 7 additions and 5 deletions
|
@ -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 = ',')
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue