Skip to content

Commit

Permalink
Merge branch 'master' into feature/fix-zalgo-test
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya authored Feb 21, 2025
2 parents 084396b + 56f7c48 commit 0af7722
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/Models/Team.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,16 @@ public function setDefaultRulesetIdAttribute(?int $value): void

public function setFlagAttribute(?string $value): void
{
$this->flag()->set($value);
if ($value !== null) {
$this->flag()->set($value);
}
}

public function setHeaderAttribute(?string $value): void
{
$this->header()->set($value);
if ($value !== null) {
$this->header()->set($value);
}
}

public function setNameAttribute(?string $value): void
Expand Down

0 comments on commit 0af7722

Please sign in to comment.