From 365c839a8d42154efab2944988d0bdb5d3331c4b Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Thu, 25 Apr 2024 22:17:31 -0400 Subject: [PATCH] Fix style --- app/src/Database/Models/Member.php | 8 ++++---- app/src/Database/Models/MemberAux.php | 2 +- app/src/Services.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/Database/Models/Member.php b/app/src/Database/Models/Member.php index 6c20f5b..5750f12 100644 --- a/app/src/Database/Models/Member.php +++ b/app/src/Database/Models/Member.php @@ -62,7 +62,7 @@ class Member extends User 'password', 'deleted_at', 'city', - 'country' + 'country', ]; protected string $auxType = MemberAux::class; @@ -77,7 +77,7 @@ protected static function boot() } /** - * Custom mutator for Member property + * Custom mutator for Member property. */ public function setCityAttribute(string $value): void { @@ -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 { @@ -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 { diff --git a/app/src/Database/Models/MemberAux.php b/app/src/Database/Models/MemberAux.php index 9f180e4..85304c5 100644 --- a/app/src/Database/Models/MemberAux.php +++ b/app/src/Database/Models/MemberAux.php @@ -27,6 +27,6 @@ class MemberAux extends Model protected $fillable = [ 'city', - 'country' + 'country', ]; } diff --git a/app/src/Services.php b/app/src/Services.php index f32bd00..166c02a 100644 --- a/app/src/Services.php +++ b/app/src/Services.php @@ -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), ]; } }