diff --git a/app/Wish.php b/app/Wish.php index 7d20154d3..da2847e9d 100644 --- a/app/Wish.php +++ b/app/Wish.php @@ -16,8 +16,18 @@ use Illuminate\Database\Eloquent\Model; class Wish extends Model { + /** + * The Attributes That Aren't Mass Assignable + * + * @var array + */ protected $guarded = []; + /** + * Belongs To A User + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function user() { return $this->belongsTo(User::class)->withDefault([