Skip to content

Commit

Permalink
Fix spec for Plug.Conn.Query.decode/4 (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
prihandi authored Oct 5, 2023
1 parent 8c09631 commit 44747cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plug/conn/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ defmodule Plug.Conn.Query do
`invalid_exception` is the exception module for the exception to raise on
errors with decoding.
"""
@spec decode(String.t(), map(), module(), boolean()) :: %{optional(String.t()) => term()}
@spec decode(String.t(), keyword(), module(), boolean()) :: %{optional(String.t()) => term()}
def decode(
query,
initial \\ [],
Expand Down

0 comments on commit 44747cd

Please sign in to comment.