diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index a434e0a84546..81f34346c0d6 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -1152,7 +1152,7 @@ public function refresh() $actualRelations = collect(); foreach ($this->relations as $key => $relation) { - if (!($relation instanceof Pivot)) { + if (! ($relation instanceof Pivot)) { $actualRelations->put($key, $relation); } }