From 347ffd53a8d50d301cef668d088a517b13fbf0e2 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 23 Apr 2024 12:01:38 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Properties/Models/PropertyValue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Properties/Models/PropertyValue.php b/src/Properties/Models/PropertyValue.php index 76b8b6ed..22e30814 100644 --- a/src/Properties/Models/PropertyValue.php +++ b/src/Properties/Models/PropertyValue.php @@ -73,8 +73,8 @@ public static function getByScalarPropertiesAndValues(array $conditions): Collec $count = 0; foreach ($conditions as $property => $value) { match ($count) { - 0 => $query->where(fn($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)), - default => $query->orWhere(fn($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)), + 0 => $query->where(fn ($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)), + default => $query->orWhere(fn ($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)), }; $count++; }