Fix weird formatting
Dave Rolsky [Sun, 30 Sep 2012 15:58:46 +0000 (10:58 -0500)]
lib/Moose/Meta/Method/Accessor/Native/Writer.pm

index 06f3042..57a4a70 100644 (file)
@@ -79,9 +79,8 @@ sub _constraint_must_be_checked {
     my $attr = $self->associated_attribute;
 
     return $attr->has_type_constraint
-        && (!$self->_is_root_type( $attr->type_constraint )
-         || ( $attr->should_coerce && $attr->type_constraint->has_coercion)
-           );
+        && ( !$self->_is_root_type( $attr->type_constraint )
+        || ( $attr->should_coerce && $attr->type_constraint->has_coercion ) );
 }
 
 sub _is_root_type {