Skip to content

Commit a54a3cd

Browse files
committed
ECWID-153684 - fixed DETEKT.
1 parent c25ea96 commit a54a3cd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/ApiClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,5 +324,5 @@ interface ProductReviewsApiClient {
324324
interface BrandsApiClient {
325325
fun searchBrands(request: BrandsSearchRequest.ByFilters): BrandsSearchResult
326326
fun <Result> searchBrands(request: BrandsSearchRequest.ByFilters, resultClass: KClass<Result>): Result
327-
where Result: PartialResult<BrandsSearchResult>
327+
where Result : PartialResult<BrandsSearchResult>
328328
}

src/main/kotlin/com/ecwid/apiclient/v3/dto/brand/result/FetchedBrand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ data class FetchedBrand(
77
val name: String = "",
88
val nameTranslated: Map<String, String>? = null,
99
val productsFilteredByBrandUrl: String? = null,
10-
): ApiFetchedDTO, ApiResultDTO {
10+
) : ApiFetchedDTO, ApiResultDTO {
1111
override fun getModifyKind() = ApiFetchedDTO.ModifyKind.ReadOnly
1212
}

src/main/kotlin/com/ecwid/apiclient/v3/impl/BrandsApiClientImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import kotlin.reflect.KClass
99

1010
internal class BrandsApiClientImpl(
1111
private val apiClientHelper: ApiClientHelper,
12-
): BrandsApiClient {
12+
) : BrandsApiClient {
1313

1414
override fun searchBrands(request: BrandsSearchRequest.ByFilters) =
1515
apiClientHelper.makeObjectResultRequest<BrandsSearchResult>(request)

0 commit comments

Comments
 (0)