Skip to content

Commit 3631ec0

Browse files
authored
Fix Route.build/14 spec for hosts and helper (#6879)
1 parent faf11c5 commit 3631ec0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/phoenix/router/route.ex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ defmodule Phoenix.Router.Route do
6565
:match | :forward,
6666
atom,
6767
String.t(),
68-
String.t() | nil,
68+
[String.t()],
6969
atom,
7070
atom,
71-
atom | nil,
71+
String.t() | nil,
7272
list(atom),
7373
map,
7474
map,

0 commit comments

Comments
 (0)