Skip to content

Commit eee136b

Browse files
committed
Apply fixes from StyleCI
1 parent 525ced4 commit eee136b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Models/PropertyValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public static function getByScalarPropertiesAndValues(array $conditions): Collec
7373
$count = 0;
7474
foreach ($conditions as $property => $value) {
7575
match ($count) {
76-
0 => $query->where(fn($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)),
77-
default => $query->orWhere(fn($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)),
76+
0 => $query->where(fn ($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)),
77+
default => $query->orWhere(fn ($q) => $q->where('properties.slug', '=', $property)->where('property_values.value', '=', $value)),
7878
};
7979
$count++;
8080
}

0 commit comments

Comments
 (0)