diff --git a/lib/credo/check/params.ex b/lib/credo/check/params.ex index 08ca4fa4f..9ae06b687 100644 --- a/lib/credo/check/params.ex +++ b/lib/credo/check/params.ex @@ -71,7 +71,7 @@ defmodule Credo.Check.Params do @doc false def category(params, check_mod) do - params[:__category__] || params[:category] || check_mod.category() + params[:__category__] || params[:category] || check_mod.category end @doc false