Skip to content

Commit 602815d

Browse files
author
ruslandoga
authored
update child_spec callback type in Ecto.Adapters.SQL.Connection (#487)
1 parent c7d58a3 commit 602815d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ecto/adapters/sql/connection.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defmodule Ecto.Adapters.SQL.Connection do
1919
Receives options and returns `DBConnection` supervisor child
2020
specification.
2121
"""
22-
@callback child_spec(options :: Keyword.t) :: {module, Keyword.t}
22+
@callback child_spec(options :: Keyword.t) :: :supervisor.child_spec() | {module, Keyword.t}
2323

2424
@doc """
2525
Prepares and executes the given query with `DBConnection`.

0 commit comments

Comments
 (0)