From: Dave Rolsky Date: Thu, 22 Dec 2011 23:42:19 +0000 (-0600) Subject: Make formatting more like the rest of the code X-Git-Tag: v0.31~2^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types.git;a=commitdiff_plain;h=e51f897114e6c350b82b39986858fc614c3ca62d Make formatting more like the rest of the code --- diff --git a/lib/MooseX/Types/Combine.pm b/lib/MooseX/Types/Combine.pm index 010f15a..43aa79f 100644 --- a/lib/MooseX/Types/Combine.pm +++ b/lib/MooseX/Types/Combine.pm @@ -33,9 +33,10 @@ sub import { my %types = $class->_provided_types; - if ( grep { $_ eq ':all' } @types ){ - $_->import({ -into => $caller }, q{:all} ) for $class->provide_types_from; - return; + if ( grep { $_ eq ':all' } @types ) { + $_->import( { -into => $caller }, q{:all} ) + for $class->provide_types_from; + return; } my %from;