Fix PHPCS issues
This commit is contained in:
parent
98fba9306f
commit
596ee4979d
5 changed files with 15 additions and 6 deletions
|
@ -76,8 +76,8 @@ class Post extends Node implements ContentEntityBundleInterface {
|
|||
|
||||
private function convertTermToHashtag(Term $tag): string {
|
||||
return '#' . (new Collection(explode(' ', $tag->label())))
|
||||
->map(fn(string $word): string => ucfirst($word))
|
||||
->implode('');
|
||||
->map(fn(string $word): string => ucfirst($word))
|
||||
->implode('');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue