Use more precise types

This commit is contained in:
Claudio Ortolina
2025-04-07 19:27:17 +01:00
parent 1d2d72b8ce
commit 9f13d090ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ defmodule LastFm.Config do
) )
@doc NimbleOptions.docs(@schema) @doc NimbleOptions.docs(@schema)
@spec resolve(atom) :: t | no_return @spec resolve(Application.app()) :: t | no_return
def resolve(otp_app) do def resolve(otp_app) do
app_config = app_config =
Application.get_env(otp_app, LastFm) Application.get_env(otp_app, LastFm)
+1 -1
View File
@@ -22,7 +22,7 @@ defmodule MusicBrainz.Config do
) )
@doc NimbleOptions.docs(@schema) @doc NimbleOptions.docs(@schema)
@spec resolve(atom) :: t | no_return @spec resolve(Application.app()) :: t | no_return
def resolve(otp_app) do def resolve(otp_app) do
app_config = app_config =
Application.get_env(otp_app, MusicBrainz) Application.get_env(otp_app, MusicBrainz)