lots of improvements

This commit is contained in:
Doar Mihai
2026-02-22 20:02:34 +02:00
parent 83fc389755
commit 29b5eca900
69 changed files with 3460 additions and 434 deletions
+6 -1
View File
@@ -16,7 +16,7 @@ class Review extends Model
'content',
'recommended',
'rating',
'platform',
'platform_id',
];
protected $casts = [
@@ -33,4 +33,9 @@ class Review extends Model
{
return $this->belongsTo(Game::class);
}
public function platform(): BelongsTo
{
return $this->belongsTo(Platform::class);
}
}