Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Fix dialyzer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolk99 committed Jul 6, 2023
1 parent e295c68 commit f1f724a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/membrane_rtc_engine/engine.ex
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ defmodule Membrane.RTC.Engine do
"""
@spec add_endpoint(
pid :: pid(),
endpoint :: Membrane.ChildrenSpec.child_definition_t(),
endpoint :: Membrane.ChildrenSpec.child_definition(),
opts :: endpoint_options_t()
) :: :ok | :error
def add_endpoint(pid, endpoint, opts \\ []) do
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane_rtc_engine/track.ex
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ defmodule Membrane.RTC.Engine.Track do
{{:ok, spec: %ParentSpec{children: children, links: links}}, state}
end
"""
@spec get_depayloader(t()) :: Membrane.ChildrenSpec.child_definition_t() | nil
@spec get_depayloader(t()) :: Membrane.ChildrenSpec.child_definition() | nil
def get_depayloader(track) do
case Membrane.RTP.PayloadFormat.get(track.encoding).depayloader do
nil ->
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane_rtc_engine/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule Membrane.RTC.Utils do
child_name :: any(),
msg :: any(),
ctx :: ctx()
) :: [Membrane.Pipeline.Action.notify_child_t()]
) :: [Membrane.Pipeline.Action.notify_child()]
def forward(child_name, msg, ctx) do
child = find_child(ctx, pattern: ^child_name)

Expand Down

0 comments on commit f1f724a

Please sign in to comment.