Tag::implode should sort case-insensitively
This commit is contained in:
parent
2ebeb27bb6
commit
f9f37fc637
1 changed files with 2 additions and 4 deletions
|
@ -124,10 +124,8 @@ class Tag
|
||||||
|
|
||||||
public static function implode(array $tags): string
|
public static function implode(array $tags): string
|
||||||
{
|
{
|
||||||
sort($tags);
|
sort($tags, SORT_FLAG_CASE|SORT_STRING);
|
||||||
$tags = implode(' ', $tags);
|
return implode(' ', $tags);
|
||||||
|
|
||||||
return $tags;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Reference in a new issue