From 552e304c0e2a9c2a991cdfa2f2d2b5f156a1a4c5 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 4 Jul 2018 11:07:33 +0200 Subject: [PATCH] FIX: fixed typos --- lib/Git/IssueManager/Issue.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Git/IssueManager/Issue.pm b/lib/Git/IssueManager/Issue.pm index 06845db..9cd0430 100644 --- a/lib/Git/IssueManager/Issue.pm +++ b/lib/Git/IssueManager/Issue.pm @@ -267,7 +267,7 @@ The estimated time for solving this issue in B Default value is B<0>, meaning no estimate set. =cut -has 'estimated_time' (is => 'rw', isa => 'Num', default => 0, trigger => sub { +has 'estimated_time' => (is => 'rw', isa => 'Num', default => 0, trigger => sub { my ($self, $new, $old) = @_; die("unknown value (" . $new . ")") unless $new > 0; @@ -280,7 +280,7 @@ The current time in B already spent on this issue The default value is B<0>. =cut -has 'working_time' => (is => 'rw', isa=>'Num', default => 0, rigger => sub { +has 'working_time' => (is => 'rw', isa=>'Num', default => 0, trigger => sub { my ($self, $new, $old) = @_; die("unknown value (" . $new . ")") unless $new > 0;