From: Matt S Trout Date: Thu, 16 Feb 2017 17:58:37 +0000 (+0000) Subject: add types to CompleteRecheck step X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=739912d9f5dd74639d23e34b384ca04fbf683bc0;p=scpubgit%2FDX.git add types to CompleteRecheck step --- diff --git a/lib/DX/Step/CompleteRecheck.pm b/lib/DX/Step/CompleteRecheck.pm index a00c796..2c0a76e 100644 --- a/lib/DX/Step/CompleteRecheck.pm +++ b/lib/DX/Step/CompleteRecheck.pm @@ -4,9 +4,9 @@ use DX::Class; with 'DX::Role::Step'; -has was_recheck_for => (is => 'ro', required => 1); +has was_recheck_for => (is => 'ro', isa => Proposition, required => 1); -has resume_search_state => (is => 'ro', required => 1); +has resume_search_state => (is => 'ro', isa => SearchState, required => 1); sub apply_to { my ($self, $ss) = @_;