Skip to content

Commit 8613f9a

Browse files
author
Dominik Liebler
committed
Merge pull request DesignPatternsPHP#119 from AnewG/patch-1
Update ShippingOrder.php
2 parents 27b9c2b + ebda655 commit 8613f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Behavioral/State/ShippingOrder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ public function completeOrder()
4444
$this->order['updatedTime'] = time();
4545

4646
// Setting the new order status into database;
47-
return $this->updateOrder($order);
47+
return $this->updateOrder($this->order);
4848
}
4949
}

0 commit comments

Comments
 (0)