Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Apr 26, 2024
1 parent b620be1 commit 365c839
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/src/Database/Models/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Member extends User
'password',
'deleted_at',
'city',
'country'
'country',
];

protected string $auxType = MemberAux::class;
Expand All @@ -77,7 +77,7 @@ protected static function boot()
}

/**
* Custom mutator for Member property
* Custom mutator for Member property.
*/
public function setCityAttribute(string $value): void
{
Expand All @@ -86,7 +86,7 @@ public function setCityAttribute(string $value): void
}

/**
* Custom mutator for Member property
* Custom mutator for Member property.
*/
public function setCountryAttribute(string $value): void
{
Expand All @@ -103,7 +103,7 @@ public function aux(): HasOne
}

/**
* If this instance doesn't already have a related aux model (either in the db on in the current object), then create one
* If this instance doesn't already have a related aux model (either in the db on in the current object), then create one.
*/
protected function createAuxIfNotExists(): void
{
Expand Down
2 changes: 1 addition & 1 deletion app/src/Database/Models/MemberAux.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class MemberAux extends Model

protected $fillable = [
'city',
'country'
'country',
];
}
2 changes: 1 addition & 1 deletion app/src/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function register(): array
{
return [
UserInterface::class => \DI\autowire(Member::class),
UserPageAction::class => \DI\autowire(MemberPageAction::class)
UserPageAction::class => \DI\autowire(MemberPageAction::class),
];
}
}

0 comments on commit 365c839

Please sign in to comment.