From 31ad9452dbb5040189824b6f28ec9a652684757a Mon Sep 17 00:00:00 2001 From: Nils Refle Date: Fri, 27 Sep 2024 19:46:01 +0200 Subject: [PATCH] fix: styling --- tests/Database/DatabaseEloquentModelTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index 771d9d75cb42..fd16415d21ab 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -3909,9 +3909,9 @@ class EloquentModelWithMutators extends Model protected function fullname(): Attribute { return Attribute::make( - get: fn (mixed $value, array $attributes) => $attributes['first_name'] . ' ' . $attributes['last_name'], + get: fn (mixed $value, array $attributes) => $attributes['first_name'].' '.$attributes['last_name'], set: function (string $fullName) { - [$firstName, $lastName] = explode(" ", $fullName); + [$firstName, $lastName] = explode(' ', $fullName); return [ 'first_name' => $firstName,