Permalink
Browse files

Fix @spec arity

  • Loading branch information...
1 parent e850674 commit 0d5b09e1ebce63c4b3731b833c680e7f90109d78 @evanmiller evanmiller committed Jul 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/boss_db.erl
View
@@ -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)).

0 comments on commit 0d5b09e

Please sign in to comment.