From: Dave Rolsky Date: Mon, 20 Apr 2009 15:23:57 +0000 (-0500) Subject: perltidy X-Git-Tag: 0.75_01~13^2~5^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aaf4b7357808399ed97d32026a42d6ee5ba85e78;p=gitmo%2FMoose.git perltidy --- diff --git a/lib/Moose/Meta/Class/Immutable/Trait.pm b/lib/Moose/Meta/Class/Immutable/Trait.pm index a570c52..81b76cc 100644 --- a/lib/Moose/Meta/Class/Immutable/Trait.pm +++ b/lib/Moose/Meta/Class/Immutable/Trait.pm @@ -9,6 +9,8 @@ use base 'Class::MOP::Class::Immutable::Trait'; sub add_role { shift->_immutable_cannot_call } -sub calculate_all_roles { @{ $_[0]{__immutable}{calculate_all_roles} ||= [ shift->next::method ] } } +sub calculate_all_roles { + @{ $_[0]{__immutable}{calculate_all_roles} ||= [ shift->next::method ] }; +} 1;