Skip to content

Commit

Permalink
Remove unused payment variable from order data.
Browse files Browse the repository at this point in the history
The $payment variable is overwritten in the foreach loop.
  • Loading branch information
evktalo committed Apr 8, 2019
1 parent 2dfe31a commit caf6843
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
'subtotal' => 120.00,
'base_grand_total' => 120.00,
'store_id' => 1,
'website_id' => 1,
'payment' => $payment
'website_id' => 1
],
[
'increment_id' => '100000003',
Expand All @@ -35,8 +34,7 @@
'base_grand_total' => 140.00,
'subtotal' => 140.00,
'store_id' => 0,
'website_id' => 0,
'payment' => $payment
'website_id' => 0
],
[
'increment_id' => '100000004',
Expand All @@ -46,8 +44,7 @@
'base_grand_total' => 140.00,
'subtotal' => 140.00,
'store_id' => 1,
'website_id' => 1,
'payment' => $payment
'website_id' => 1
],
];

Expand Down

0 comments on commit caf6843

Please sign in to comment.