From d1127ab5a4b913bcd2f93a4be408110fc4bcf63c Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Wed, 6 Jun 2018 19:51:51 -0400 Subject: [PATCH] (Update) Cleanup Wish Model --- app/Wish.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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([