mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-22 17:24:23 +02:00
remove comment and superfluously state
This commit is contained in:
@ -11,8 +11,6 @@ class CreateOrder extends StateOrder
|
||||
|
||||
protected function done()
|
||||
{
|
||||
$order = new ShippingOrder();
|
||||
static::$state = $order;
|
||||
//$this->setStatus('shipping');
|
||||
static::$state = new ShippingOrder();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user