Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/cachex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ defmodule Cachex do
{ :ok, 5000 }

"""
@spec put(Cachex.t(), any, any, Keyword.t()) :: {status, boolean}
@spec put(Cachex.t(), any, any, Keyword.t()) :: {status, any}
def put(cache, key, value, options \\ []) when is_list(options),
do: Router.route(cache, {:put, [key, value, options]})

Expand Down Expand Up @@ -985,7 +985,7 @@ defmodule Cachex do
{ :ok, 5000 }

"""
@spec put_many(Cachex.t(), [{any, any}], Keyword.t()) :: {status, boolean}
@spec put_many(Cachex.t(), [{any, any}], Keyword.t()) :: {status, any}
def put_many(cache, pairs, options \\ [])
when is_list(pairs) and is_list(options),
do: Router.route(cache, {:put_many, [pairs, options]})
Expand Down
Loading