From 6c1bc1eda7f1d666fc8aa324db4e5e6f13104690 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 29 Dec 2017 09:50:16 -0600 Subject: [PATCH] formatting --- src/Illuminate/Database/Eloquent/Model.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index c1913f179b54..4592989750ab 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -230,7 +230,9 @@ public function fill(array $attributes) if ($this->isFillable($key)) { $this->setAttribute($key, $value); } elseif ($totallyGuarded) { - throw new MassAssignmentException('Model is guarded. Add key ['.$key.'] to $fillable to allow mass assignment.'); + throw new MassAssignmentException( + "Add [{$key}] to fillable property to allow mass assignment." + ); } }