From: John Napiorkowski Date: Tue, 5 Oct 2010 18:17:04 +0000 (-0400) Subject: fixed typo X-Git-Tag: 0.015~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalystX-Declare.git;a=commitdiff_plain;h=0e99194f1781713cdb09fc678227e7527b62efe2 fixed typo --- diff --git a/lib/CatalystX/Declare/Controller/Meta/TypeConstraintMapping.pm b/lib/CatalystX/Declare/Controller/Meta/TypeConstraintMapping.pm index f1fc653..9c8119c 100644 --- a/lib/CatalystX/Declare/Controller/Meta/TypeConstraintMapping.pm +++ b/lib/CatalystX/Declare/Controller/Meta/TypeConstraintMapping.pm @@ -8,19 +8,19 @@ role CatalystX::Declare::Controller::Meta::TypeConstraintMapping { use aliased 'MooseX::Method::Signatures::Meta::Method', 'MethodWithSignature'; has method_type_constraint_map => ( - metaclass => 'Collection::Hash', + traits => [ 'Hash' ], is => 'ro', isa => HashRef[Object], required => 1, lazy_build => 1, handles => { 'get_method_type_constraint' => 'get', - 'set_method_type_constraint' => 'set, + 'set_method_type_constraint' => 'set', }, ); has method_named_param_map => ( - metaclass => 'Collection::Hash', + traits => [ 'Hash' ], is => 'ro', isa => HashRef[ArrayRef[Str]], required => 1, @@ -32,7 +32,7 @@ role CatalystX::Declare::Controller::Meta::TypeConstraintMapping { ); has method_named_type_constraint_map => ( - metaclass => 'Collection::Hash', + traits => [ 'Hash' ], is => 'ro', isa => HashRef[HashRef[Object]], required => 1,