Skip to content

Commit

Permalink
fix: explicit return statements in Attributes.pm (#7086)
Browse files Browse the repository at this point in the history
fix: explicit return statements in Attributes.pm
  • Loading branch information
dipietroR authored Jul 20, 2022
1 parent 4a9b44d commit 59a8280
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ProductOpener/Attributes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ sub override_general_value($$$$) {
if ($string ne "") {
$attribute_ref->{$field} = $string;
}
return;
}


Expand Down Expand Up @@ -1522,6 +1523,7 @@ sub add_attribute_to_group($$$$) {

push @{$group_ref->{attributes}}, $attribute_ref;
}
return;
}


Expand Down Expand Up @@ -1632,6 +1634,7 @@ sub compute_attributes($$$$) {

$log->debug("computed attributes for product", { code => $product_ref->{code}, target_lc => $target_lc,
"attribute_groups_" . $target_lc => $product_ref->{"attribute_groups_" . $target_lc} }) if $log->is_debug();
return;
}

1;

0 comments on commit 59a8280

Please sign in to comment.