Skip to content

Commit

Permalink
fixed incorrectly-specific typespec in
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsf2 committed Sep 20, 2024
1 parent 142d8b4 commit fabc89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/protomock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ defmodule ProtoMock do
Calculator.add(protomock, 1, 2) # => :overridden
Calculator.add(protomock, 1, 2) # => 3
"""
@spec new(module(), struct()) :: t()
@spec new(module(), any()) :: t()
def new(protocol, delegate) do

if delegate == nil do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule ProtoMock.MixProject do
use Mix.Project

@version "1.1.0"
@version "1.1.1"
@github_page "https://github.com/jbsf2/protomock"

def project do
Expand Down

0 comments on commit fabc89e

Please sign in to comment.