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++; }