diff --git a/src/Abstractor/Eloquent/Model.php b/src/Abstractor/Eloquent/Model.php index 3ca6bf0..5b46330 100644 --- a/src/Abstractor/Eloquent/Model.php +++ b/src/Abstractor/Eloquent/Model.php @@ -530,9 +530,8 @@ public function getFieldValue($item, $fieldName) } } - if(is_null($entity)) - { - return null; + if (is_null($entity)) { + return; } $lastRelationName = $relationName;