Make formatting more like the rest of the code
Dave Rolsky [Thu, 22 Dec 2011 23:42:19 +0000 (17:42 -0600)]
lib/MooseX/Types/Combine.pm

index 010f15a..43aa79f 100644 (file)
@@ -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;