From ee8406177925531595cdd2a80720e09968dbb27e Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Tue, 24 Jul 2018 15:29:30 +0200 Subject: [PATCH] fix php cs --- src/Translatable/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Translatable/Translatable.php b/src/Translatable/Translatable.php index e52551b..811cb1d 100644 --- a/src/Translatable/Translatable.php +++ b/src/Translatable/Translatable.php @@ -165,7 +165,7 @@ private function getAttributeOrFallback($locale, $attribute) if ( ( - !$translation instanceof Model || + ! $translation instanceof Model || empty($translation->$attribute) ) && $this->usePropertyFallback()