Skip to content

Commit 33bd335

Browse files
committed
🏷️ change return type of encode function from Any? to Any
1 parent ad01a3a commit 33bd335

File tree

1 file changed

+1
-1
lines changed
  • qs-kotlin/src/main/kotlin/io/github/techouse/qskotlin/internal

1 file changed

+1
-1
lines changed

qs-kotlin/src/main/kotlin/io/github/techouse/qskotlin/internal/Encoder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ internal object Encoder {
6969
encodeValuesOnly: Boolean = false,
7070
charset: Charset = StandardCharsets.UTF_8,
7171
addQueryPrefix: Boolean = false,
72-
): Any? {
72+
): Any {
7373
val prefix: String = prefix ?: if (addQueryPrefix) "?" else ""
7474
val generateArrayPrefix: ListFormatGenerator =
7575
generateArrayPrefix ?: ListFormat.INDICES.generator

0 commit comments

Comments
 (0)