@@ -32,7 +32,7 @@ |
||
32 | 32 | public static function findByNameOrCreate(string $name, TagType $type): Tag |
33 | 33 | { |
34 | 34 | $existing = self::nonDraft()->get() |
35 | - ->first(function (int $id, Tag $tag) use ($name, $type) { |
|
35 | + ->first(function(int $id, Tag $tag) use ($name, $type) { |
|
36 | 36 | return $tag->translate('name', content_locale()) === $name && $tag->type === (string) $type; |
37 | 37 | }); |
38 | 38 |