Skip to content

Commit

Permalink
Fix inputs_form spec (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson authored Mar 23, 2020
1 parent 76bb014 commit 004bc46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/phoenix_html/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ defmodule Phoenix.HTML.Form do
within the supplied callback.
"""
@spec inputs_for(t, field, (t -> Phoenix.HTML.unsafe())) :: Phoenix.HTML.safe()
@spec inputs_for(t, field, Keyword.t(), (t -> Phoenix.HTML.unsafe())) :: Phoenix.HTML.safe()
def inputs_for(%{impl: impl} = form, field, options \\ [], fun)
when is_atom(field) or is_binary(field) do
Expand Down

0 comments on commit 004bc46

Please sign in to comment.