Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed May 16, 2023
1 parent e200777 commit 7cee368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HasTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function tags(): MorphToMany

public function tagsTranslated(string | null $locale = null): MorphToMany
{
$locale = !is_null($locale) ? $locale : self::getTagClassName()::getLocale();
$locale = ! is_null($locale) ? $locale : self::getTagClassName()::getLocale();

return $this
->morphToMany(self::getTagClassName(), $this->getTaggableMorphName())
Expand All @@ -69,7 +69,7 @@ public function tagsTranslated(string | null $locale = null): MorphToMany

public function setTagsAttribute(string | array | ArrayAccess | Tag $tags)
{
if (!$this->exists) {
if (! $this->exists) {
$this->queuedTags = $tags;

return;
Expand Down

0 comments on commit 7cee368

Please sign in to comment.