From 921b9892cbe2fbc092446f506a09667b6adc756d Mon Sep 17 00:00:00 2001 From: Venix <30481900+venix12@users.noreply.github.com> Date: Sun, 12 Jan 2025 23:19:08 +0100 Subject: [PATCH] clean-up properties --- app/Models/Multiplayer/Room.php | 1 - app/Models/User.php | 1 + app/Models/UserSeasonScoreAggregate.php | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/Multiplayer/Room.php b/app/Models/Multiplayer/Room.php index 1009f6326ea..a6bc533c47d 100644 --- a/app/Models/Multiplayer/Room.php +++ b/app/Models/Multiplayer/Room.php @@ -37,7 +37,6 @@ * @property int $id * @property int|null $max_attempts * @property string $name - * @property int|null $parent_id * @property int $participant_count * @property \Illuminate\Database\Eloquent\Collection $playlist PlaylistItem * @property \Illuminate\Database\Eloquent\Collection $scoreLinks ScoreLink diff --git a/app/Models/User.php b/app/Models/User.php index 9dbf4ed7af6..0a40c4ef026 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -119,6 +119,7 @@ * @property-read Collection $scoresMania * @property-read Collection $scoresOsu * @property-read Collection $scoresTaiko + * @property-read Collection $seasonScores * @property-read UserStatistics\Fruits|null $statisticsFruits * @property-read UserStatistics\Mania|null $statisticsMania * @property-read UserStatistics\Mania4k|null $statisticsMania4k diff --git a/app/Models/UserSeasonScoreAggregate.php b/app/Models/UserSeasonScoreAggregate.php index bf8db9abfcc..a8052380029 100644 --- a/app/Models/UserSeasonScoreAggregate.php +++ b/app/Models/UserSeasonScoreAggregate.php @@ -12,6 +12,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; /** + * @property-read Season $season * @property int $season_id * @property float $total_score * @property int $user_id