Skip to content

Commit 4dfdd0a

Browse files
AlonParkerdsrees
authored andcommitted
Allow Payload value set nullable (#72)
1 parent bc25e20 commit 4dfdd0a

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/org/phoenixframework

1 file changed

+1
-1
lines changed

src/main/kotlin/org/phoenixframework/Socket.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import java.net.URL
3030
import java.util.concurrent.TimeUnit
3131

3232
/** Alias for a JSON mapping */
33-
typealias Payload = Map<String, Any>
33+
typealias Payload = Map<String, Any?>
3434

3535
/** Data class that holds callbacks assigned to the socket */
3636
internal class StateChangeCallbacks {

0 commit comments

Comments
 (0)