forked from wallabag/wallabag
CS
This commit is contained in:
@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user