From: Zachary Stevens Date: Thu, 12 Nov 2009 18:12:30 +0000 (+0000) Subject: Fixed signature for references. X-Git-Tag: 0.000000_01~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=829d41edc8ed51ffa09282f6fb07d606279b7bca;p=catagits%2FGitalist.git Fixed signature for references. --- diff --git a/lib/Gitalist/Git/Project.pm b/lib/Gitalist/Git/Project.pm index 7175a9a..80f2568 100644 --- a/lib/Gitalist/Git/Project.pm +++ b/lib/Gitalist/Git/Project.pm @@ -23,7 +23,7 @@ class Gitalist::Git::Project with Gitalist::Git::HasUtils { # FIXME, use Types::Path::Class and coerce use MooseX::Types::Common::String qw/NonEmptySimpleStr/; use MooseX::Types::Path::Class qw/Dir/; - use MooseX::Types::Moose qw/Str Maybe Bool HashRef/; + use MooseX::Types::Moose qw/Str Maybe Bool HashRef ArrayRef/; use List::MoreUtils qw/any zip/; use DateTime; use aliased 'Gitalist::Git::Object'; @@ -178,7 +178,7 @@ Return a hash of references. =cut - has references => ( isa => HashRef[Str], is => 'ro', lazy_build => 1 ); + has references => ( isa => HashRef[ArrayRef[Str]], is => 'ro', lazy_build => 1 ); method _build_references {