From 14a1a1cebd69c82cf5b200bbbb894ea45fe8e794 Mon Sep 17 00:00:00 2001 From: Markshall Date: Fri, 24 May 2024 23:23:34 +0100 Subject: [PATCH] follow Laravel codestyle --- src/Illuminate/Database/Query/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 3b09ae8a536c..a108d235cb30 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -3760,7 +3760,7 @@ public function updateOrInsert(array $attributes, $values = []) $values = $values($exists); } - if (!$exists) { + if (! $exists) { return $this->insert(array_merge($attributes, $values)); }