Skip to content

Commit

Permalink
Name Repo.init/2 first arg (#3063)
Browse files Browse the repository at this point in the history
  • Loading branch information
moxley authored and José Valim committed Jul 19, 2019
1 parent a1e3b7a commit 854d58e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ecto/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ defmodule Ecto.Repo do
application environment. It must return `{:ok, keyword}` with the updated
list of configuration or `:ignore` (only in the `:supervisor` case).
"""
@callback init(:supervisor | :runtime, config :: Keyword.t()) :: {:ok, Keyword.t()} | :ignore
@callback init(context :: :supervisor | :runtime, config :: Keyword.t()) ::
{:ok, Keyword.t()} | :ignore

## Ecto.Adapter

Expand Down

0 comments on commit 854d58e

Please sign in to comment.