Skip to content

Commit

Permalink
Fix @SPEC arity
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Jul 3, 2012
1 parent e850674 commit 0d5b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boss_db.erl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ find_first(Type, Conditions, Sort) ->
find_last(Type, Conditions) ->
return_one(find(Type, Conditions, 1, 0, id, str_descending)).

%% @spec find_last( Type::atom(), Conditions ) -> Record | undefined
%% @spec find_last( Type::atom(), Conditions, Sort ) -> Record | undefined
%% @doc Query for the last BossRecord of type `Type' matching all of the given `Conditions'
find_last(Type, Conditions, Sort) ->
return_one(find(Type, Conditions, 1, 0, Sort, str_descending)).
Expand Down

0 comments on commit 0d5b09e

Please sign in to comment.