my $attr = $self->associated_attribute;
return $attr->has_type_constraint
- && ( $attr->type_constraint->name =~ /^(?:Num|Int)$/
- || ( $attr->should_coerce && $attr->type_constraint->has_coercion ) );
+ && ($attr->type_constraint->name =~ /^(?:Num|Int)$/
+ || ($attr->should_coerce && $attr->type_constraint->has_coercion)
+ );
}
no Moose::Role;