Fix PHPCS issues

This commit is contained in:
Oliver Davies 2020-09-04 20:56:04 +01:00
parent 98fba9306f
commit 596ee4979d
5 changed files with 15 additions and 6 deletions

View file

@ -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('');
}
}